From cd47241d699fefaba4bef4d4cbb4bb374acafb6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 10 Dec 2012 15:35:15 +0100 Subject: [PATCH] Fix IconCacheBuilder --- .../files/lib/system/cache/builder/IconCacheBuilder.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php index a7691a6ced..681b1977c0 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php @@ -40,7 +40,7 @@ class IconCacheBuilder implements ICacheBuilder { // get icons foreach ($iconDirs as $iconDir) { - $path = FileUtil::addTrailingSlash(WCF_DIR.$iconDir); + $path = FileUtil::addTrailingSlash(ApplicationHandler::getInstance()->getWCF()->getPageURL().$iconDir); // get svg icons $icons = self::getIconFiles($path); -- 2.20.1