diff --git a/main.php b/main.php index bfa7b7e6e..85de63abe 100644 --- a/main.php +++ b/main.php @@ -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'])) {