public static function getConfig($file = null, $type = 'PHP') { if (!self::$config) { if ($file === null) { $file = MPATH_CONFIGURATION . '/config.php'; } self::$config = self::createConfig($file, $type); } return self::$config; }
public static function getConfig($file = null, $type = 'PHP') { if (!self::$config) { if ($file === null) { $file = MPATH_CONFIGURATION . '/config.php'; } self::$config = self::createConfig($file, $type); } return self::$config; }