Fixed href of <base />-tag
authorAlexander Ebert <ebert@woltlab.com>
Wed, 17 Oct 2012 18:15:05 +0000 (20:15 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 17 Oct 2012 18:15:05 +0000 (20:15 +0200)
wcfsetup/install/files/lib/system/WCF.class.php

index 857176e147d3793a05864ccf363be0c2a1f8186c..06fab53f87684abd9bbbb0c8f5475728c01719da 100644 (file)
@@ -452,7 +452,7 @@ class WCF {
                }
                else if (!$isDependentApplication) {
                        // assign base tag
-                       $this->getTPL()->assign('baseHref', $application->domainName . $application->domainPath);
+                       $this->getTPL()->assign('baseHref', $application->getPageURL());
                }
                
                // register application