If they are not on the mobile site or not interested in getting the

mobile profile, then give them the regular output.
This commit is contained in:
Sarven Capadisli 2009-10-04 20:53:30 +00:00
parent 3ee1af9aaa
commit fe4a49d4a5
1 changed files with 4 additions and 0 deletions

View File

@ -141,6 +141,10 @@ class MobileProfilePlugin extends WAP20Plugin
}
}
if (!$this->serveMobile) {
return true;
}
header('Content-Type: '.$type);
$action->extraHeaders();