* adjust the install.php.

This commit is contained in:
wangchunsheng
2011-05-13 08:25:46 +00:00
parent afbad45d3f
commit dd7d1a2c8d
2 changed files with 2 additions and 2 deletions

View File

@@ -1463,7 +1463,7 @@ class router
* Connect to database.
*
* @access public
* @return object|bool the database handler.
* @return void
*/
public function connectDB()
{

View File

@@ -32,7 +32,7 @@ $config->set('default.module', 'install');
$app->setDebug();
/* During the installation, if the database params is setted, auto connect the db. */
if(isset($config->installed) and $config->installed) $dbh = $app->connectDB();
if(isset($config->installed) and $config->installed) $app->connectDB();
$app->parseRequest();
$app->loadModule();