diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 64bb31d7787e..fafb599b2ff0 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -529,7 +529,7 @@ public function getJVersion($joomlaBase) { */ public function getBasePath() { global $civicrm_root; - $joomlaPath = explode('/administrator', $civicrm_root); + $joomlaPath = explode(DIRECTORY_SEPARATOR . 'administrator', $civicrm_root); $joomlaBase = $joomlaPath[0]; return $joomlaBase; }