/** * Loads a config file */ public static function loadConfig($file) { $reload = $file && self::$configFile != $file; self::$configFile = $file; return $reload || !self::$isInit ? self::init() : true; }