From: Alexander Ebert Date: Sun, 30 Dec 2012 18:40:34 +0000 (+0100) Subject: Fixes ACP Index without path components X-Git-Tag: 2.0.0_Beta_1~644 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6eacf9ae00270d050960560b62bbca14709d7e9b;p=GitHub%2FWoltLab%2FWCF.git Fixes ACP Index without path components Fixes #1045 --- diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 9444520ff2..81e684e816 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -678,7 +678,7 @@ class WCF { } $baseHref = self::getTPL()->get('baseHref'); - return $baseHref . 'index.php' . $path . '#' . $fragment; + return $baseHref . FileUtil::removeLeadingSlash($path) . '#' . $fragment; } /**