* when upgrade or install, turn off the debug feature.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user