/** * Setting the conf file to load */ public static function setConfFile($fileName = null) { $path = self::_getConfDir($fileName); if (!is_file($path)) { throw new CoreException('config file NOT found: ' . $fileName); } self::$_conf_file = $path; }