diff --git a/libraries/src/CMS/Categories/Categories.php b/libraries/src/CMS/Categories/Categories.php index 15c2c89193722..4541970d5626d 100644 --- a/libraries/src/CMS/Categories/Categories.php +++ b/libraries/src/CMS/Categories/Categories.php @@ -142,11 +142,17 @@ public static function getInstance($extension, $options = array()) if (!class_exists($classname)) { - $path = JPATH_SITE . '/components/' . $component . '/helpers/category.php'; + $path = JPATH_SITE . '/components/' . $component . '/Helper/Category.php'; if (!is_file($path)) { - return false; + // B/C for Joomla! 3 + $path = JPATH_SITE . '/components/' . $component . '/helpers/category.php'; + + if (!is_file($path)) + { + return false; + } } include_once $path;