From dd7d1a2c8d217e6271dcdb0f6832a21faa3b11fa Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 13 May 2011 08:25:46 +0000 Subject: [PATCH] * adjust the install.php. --- framework/router.class.php | 2 +- www/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/router.class.php b/framework/router.class.php index f4bf431e66..6dcef42bbe 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -1463,7 +1463,7 @@ class router * Connect to database. * * @access public - * @return object|bool the database handler. + * @return void */ public function connectDB() { diff --git a/www/install.php b/www/install.php index a92ae63cc7..7ef60c07db 100644 --- a/www/install.php +++ b/www/install.php @@ -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();