* when upgrade or install, turn off the debug feature.

This commit is contained in:
wangchunsheng
2012-11-30 03:25:35 +00:00
parent 4388b63352
commit fe9cdd4b2a
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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();