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