summaryrefslogtreecommitdiff
path: root/plugins/MobileProfile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MobileProfile')
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index 3f3d10261..28a2eb0c1 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -141,6 +141,10 @@ class MobileProfilePlugin extends WAP20Plugin
}
}
+ if (!$this->serveMobile) {
+ return true;
+ }
+
header('Content-Type: '.$type);
$action->extraHeaders();