diff --git a/libraries/joomla/factory.php b/libraries/joomla/factory.php index 0447213276015..2a9323d88845b 100644 --- a/libraries/joomla/factory.php +++ b/libraries/joomla/factory.php @@ -148,7 +148,7 @@ public static function getConfig($file = null, $type = 'PHP', $namespace = '') { if ($file === null) { - $file = JPATH_PLATFORM . '/config.php'; + $file = JPATH_CONFIGURATION . '/configuration.php'; } self::$config = self::createConfig($file, $type, $namespace);