From fe9cdd4b2a2edbfcbb25ebe23160d0b70b114c64 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 30 Nov 2012 03:25:35 +0000 Subject: [PATCH] * when upgrade or install, turn off the debug feature. --- www/install.php | 2 +- www/upgrade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/install.php b/www/install.php index 3b62aebd26..b0f614ef03 100644 --- a/www/install.php +++ b/www/install.php @@ -27,7 +27,7 @@ if(!isset($_SESSION['installing']) and isset($config->installed) and $config->in /* Reset the config params to make sure the install program will be lauched. */ $config->set('requestType', 'GET'); -$config->set('debug', true); +$config->set('debug', false); $config->set('default.module', 'install'); $app->setDebug(); diff --git a/www/upgrade.php b/www/upgrade.php index 6e78d510e7..7746b063d9 100644 --- a/www/upgrade.php +++ b/www/upgrade.php @@ -32,7 +32,7 @@ $common = $app->loadCommon(); /* Reset the config params to make sure the install program will be lauched. */ $config->set('requestType', 'GET'); -$config->set('debug', true); +$config->set('debug', false); $config->set('default.module', 'upgrade'); $app->setDebug();