private static function ensureProviderConfig($provider) { if (is_string($provider) === false) { throw new Exception("Invalid argument passed to ensureProviderConfig(string)"); } if (self::$configuration === null) { self::ensureBaseConfig(); if (self::$baseConfig["ConfigPath"] !== "") { require_once self::$baseConfig["ConfigPath"] . "/" . $provider . "/Config.php"; } else { require_once dirname(__FILE__) . "/" . $provider . "/Config.php"; } self::$configuration = $config; } }