From 863bc490d9b0ffb33164380123882715bb590d41 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Mon, 14 Nov 2016 10:47:10 +0800 Subject: [PATCH] * finish task #2795. --- www/index.php | 6 ------ 1 file changed, 6 deletions(-) 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();