summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-15 11:25:38 +0000
committerSarven Capadisli <csarven@status.net>2009-10-15 11:25:38 +0000
commited85dc2700eb664c98ca74fef2db2e548cf1a104 (patch)
tree70dc0390d7a7445be94b0f3b071e0402e60024b5
parent291c2ccd0b52119b5bf55ffcdeeb5c9286d1d3f7 (diff)
Updated comments
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index 518ceb758..eba460ed6 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -63,6 +63,7 @@ class MobileProfilePlugin extends WAP20Plugin
function onStartShowHTML($action)
{
+
if (!$type) {
$httpaccept = isset($_SERVER['HTTP_ACCEPT']) ?
$_SERVER['HTTP_ACCEPT'] : null;
@@ -97,9 +98,9 @@ class MobileProfilePlugin extends WAP20Plugin
// XXX: Browser sniffing sucks
// I really don't like going through this every page,
- // find a better way
+ // perhaps use $_SESSION or cookies
- // May be better to categorize the devices in terms of
+ // May be better to group the devices in terms of
// low,mid,high-end
// Or, detect the mobile devices based on their support for