* fix the error when my.php doesn't exits.

This commit is contained in:
wangchunsheng
2010-11-28 13:15:12 +00:00
parent cfca2eed59
commit ebc270e8db

View File

@@ -1340,6 +1340,8 @@ class router
*/ */
public function loadConfig($moduleName, $exitIfNone = true) public function loadConfig($moduleName, $exitIfNone = true)
{ {
$extConfigFiles = array();
/* Set the main config file and extension config file. */ /* Set the main config file and extension config file. */
if($moduleName == 'common') if($moduleName == 'common')
{ {