Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Ensure the BASE html tag ends with /, otherwise it goes up one folder
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Dec 21, 2013
1 parent a3b6280 commit bab86f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/action.share/class.ShareCenter.php
Expand Up @@ -789,7 +789,7 @@ public static function loadMinisite($data)
} else {
$tPath = (!empty($data["TRAVEL_PATH_TO_ROOT"]) ? $data["TRAVEL_PATH_TO_ROOT"] : "../..");
}
$html = str_replace("AJXP_PATH_TO_ROOT", $tPath, $html);
$html = str_replace("AJXP_PATH_TO_ROOT", rtrim($tPath, "/")."/", $html);
HTMLWriter::internetExplorerMainDocumentHeader();
HTMLWriter::charsetHeader();
echo($html);
Expand Down

0 comments on commit bab86f0

Please sign in to comment.