diff --git a/src/index.php b/src/index.php index f622e20..2fae7a5 100644 --- a/src/index.php +++ b/src/index.php @@ -17,12 +17,10 @@ if (!is_int(Config::get('firstdayofweek')) || Config::get('firstdayofweek')<0 || Config::set('firstdayofweek', 1); } -if (isset($_GET['pda'])) { +if ( isset($_GET['mobile']) || isset($_GET['pda'])) { Config::set('mobile', 1); } define('TEMPLATEPATH', MTTPATH. 'themes/'. Config::get('template'). '/'); require(TEMPLATEPATH. 'index.php'); - -?> \ No newline at end of file