diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-20 04:49:35 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-20 04:49:35 +0000 |
commit | e1fcac0e0908be45c9aa7e840a6fcb2ca600eac5 (patch) | |
tree | 6b0281a77e21ea9b511da3a6aad4b09299f3da7b /plugins/MobileProfile | |
parent | b51df36189e631d9440bd9182bc4bb01624751b6 (diff) |
Changed DEFINE name to avoid conflicts
Diffstat (limited to 'plugins/MobileProfile')
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index c257f3fd8..0b1e4de28 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } -define('PAGE_TYPE_PREFS', +define('PAGE_TYPE_PREFS_MOBILEPROFILE', 'application/vnd.wap.xhtml+xml, application/xhtml+xml, text/html;q=0.9'); require_once INSTALLDIR.'/plugins/Mobile/WAP20Plugin.php'; @@ -172,7 +172,7 @@ class MobileProfilePlugin extends WAP20Plugin $_SERVER['HTTP_ACCEPT'] : null; $cp = common_accept_to_prefs($httpaccept); - $sp = common_accept_to_prefs(PAGE_TYPE_PREFS); + $sp = common_accept_to_prefs(PAGE_TYPE_PREFS_MOBILEPROFILE); $type = common_negotiate_type($cp, $sp); |