From 646159e679e12fc2582729b52951582c26015311 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Wed, 10 Feb 2016 09:33:24 +0900 Subject: [PATCH] Set use_mobile_view to 'true' if previous setting does not exist at all --- common/framework/compat/configparser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/framework/compat/configparser.php b/common/framework/compat/configparser.php index 201cc0f88..7f15cd809 100644 --- a/common/framework/compat/configparser.php +++ b/common/framework/compat/configparser.php @@ -243,7 +243,7 @@ class ConfigParser } // Convert miscellaneous configuration. - $config['use_mobile_view'] = $db_info->use_mobile_view === 'Y' ? true : false; + $config['use_mobile_view'] = $db_info->use_mobile_view === 'N' ? false : true; $config['use_prepared_statements'] = $db_info->use_prepared_statements === 'Y' ? true : false; $config['use_rewrite'] = $db_info->use_rewrite === 'Y' ? true : false; $config['use_sso'] = $db_info->use_sso === 'Y' ? true : false;