public static function init()
 {
     $file_path = Config::getSettingsDir() . 'config.ini';
     $array = array();
     $array = parse_ini_file($file_path);
     if (count($array) < 3) {
         error_log('config.ini info error, please check it!!!');
         return false;
     }
     self::$db_host = $array["dbHost"];
     self::$db_port = $array["dbPort"];
     self::$db_name = $array["dbName"];
     self::$db_user = $array["dbUser"];
     self::$db_password = $array["dbPwd"];
     self::$cache_switch = $array["cacheSwitch"];
     self::$cache_timeout = $array["cacheTimeout"];
     return true;
 }