Fix IconCacheBuilder
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 10 Dec 2012 14:35:15 +0000 (15:35 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 10 Dec 2012 14:35:15 +0000 (15:35 +0100)
wcfsetup/install/files/lib/system/cache/builder/IconCacheBuilder.class.php

index a7691a6ced98e4d9c7543c7a2436ee51ae2835af..681b1977c07d27175589e9c96480ba297240e31d 100644 (file)
@@ -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);