add basic mobile user detection
This commit is contained in:
@@ -82,6 +82,10 @@ reloadSettings();
|
||||
cleanRequest();
|
||||
$context = array();
|
||||
|
||||
include("Mobile_Detect.php");
|
||||
$detect = new Mobile_Detect();
|
||||
define('MOBILE', $detect->isMobile());
|
||||
|
||||
// Determine if this is should be using WAP, WAP2, or imode.
|
||||
define('WIRELESS', isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user