From a18397591d325bd7e9f794bf600f79cc2bd508fb Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 3 Nov 2011 16:02:29 +0100 Subject: [PATCH] base tag will now be set upon application settings --- com.woltlab.wcf/template/headInclude.tpl | 1 + wcfsetup/install/files/lib/system/WCF.class.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/com.woltlab.wcf/template/headInclude.tpl b/com.woltlab.wcf/template/headInclude.tpl index 5a4912af5e..f93c99ac9d 100644 --- a/com.woltlab.wcf/template/headInclude.tpl +++ b/com.woltlab.wcf/template/headInclude.tpl @@ -1,3 +1,4 @@ + diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 5b5df17a3d..52e7366b04 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -444,9 +444,12 @@ class WCF { throw new exception\SystemException('Unable to run '.$row['package'].', '.$className.' missing.'); } - // load options if (!$isDepedentApplication) { + // load options $this->loadOptions($packageDir.'options.inc.php', $application->packageID); + + // assign base tag + $this->getTPL()->assign('baseHref', $application->domainName . $application->domainPath); } } -- 2.20.1