public static function init()
 {
     if (!is_array(self::$config)) {
         self::$config = array();
         TestConfig::_init();
     }
 }
Exemple #2
0
 private function __construct()
 {
     // load the config file
     $path = dirname(__FILE__) . "/../test.ini";
     self::$config = parse_ini_file($path, true);
 }