diff --git a/www/index.php b/www/index.php index 3af80e32fe..fa2363de22 100644 --- a/www/index.php +++ b/www/index.php @@ -32,12 +32,6 @@ $app = router::createApp('pms', dirname(dirname(__FILE__)), 'router'); /* installed or not. */ if(!isset($config->installed) or !$config->installed) die(header('location: install.php')); -if($app->clientDevice == 'mobile' and $config->default->view == 'html') -{ - $config->default->view = 'mhtml'; - $app->viewType = helper::getViewType(); -} - /* Run the app. */ $common = $app->loadCommon();