MINOR Documentation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@103485 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-26 05:52:00 +00:00 committed by Sam Minnee
parent ac2d9b35c0
commit ad6f1adcd8

View File

@ -92,7 +92,7 @@ if (isset($_GET['url'])) {
}
}
// Fix glitches in URL generation
// Remove base folders from the URL if webroot is hosted in a subfolder
if (substr(strtolower($url), 0, strlen(BASE_URL)) == strtolower(BASE_URL)) $url = substr($url, strlen(BASE_URL));
if (isset($_GET['debug_profile'])) {