示例#1
0
 /** 加载系统配置和用户配置 */
 private function _loadConfig()
 {
     self::$config_ = self::loadConfig(self::$_SysPath . 'App.config.php');
     if (isset(self::$config_["USER_CONFIG_FILE_PATH"])) {
         $arr = self::loadConfig(self::$_AppPath . self::$config_["USER_CONFIG_FILE_PATH"]);
         //加载用户配置
         if (is_array($arr)) {
             self::$config_ = array_merge(self::$config_, $arr);
         }
     }
 }