From 6eacf9ae00270d050960560b62bbca14709d7e9b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 30 Dec 2012 19:40:34 +0100 Subject: [PATCH] Fixes ACP Index without path components Fixes #1045 --- wcfsetup/install/files/lib/system/WCF.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /** -- 2.20.1