示例#1
0
 public static function init()
 {
     if (!is_array(self::$config)) {
         self::$config = array();
         TestConfig::_init();
     }
 }
示例#2
0
文件: TestConfig.php 项目: EQ4/smafe
 private function __construct()
 {
     // load the config file
     $path = dirname(__FILE__) . "/../test.ini";
     self::$config = parse_ini_file($path, true);
 }