예제 #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);
 }