Skip to content

Commit

Permalink
Merge pull request #12692 from andrewpthompson/dev-joomla-2
Browse files Browse the repository at this point in the history
dev/joomla#2 Joomla on Windows cli.php & cron.php fail due to incorrect path
  • Loading branch information
eileenmcnaughton authored Aug 21, 2018
2 parents d3735dd + e23eb52 commit b0c4809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Utils/System/Joomla.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b0c4809

Please sign in to comment.