From: Matthias Schmidt Date: Sat, 5 Jan 2013 12:55:14 +0000 (+0100) Subject: Fixes SetupTemplateEngine X-Git-Tag: 2.0.0_Beta_1~590^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=54fc30075af7812aefe7970dd482555d2bfb2919;p=GitHub%2FWoltLab%2FWCF.git Fixes SetupTemplateEngine --- diff --git a/wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php index f67a78f9ad..2593aa93d1 100644 --- a/wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php @@ -1,6 +1,5 @@ templatePaths[$application].'setup/template/'.$templateName.'.tpl'; - if (!empty($sourceFilename)) { - return $sourceFilename; - } - - throw new SystemException("Unable to find template '".$templateName."'"); + return $this->compileDir.'setup/template/'.$templateName.'.tpl'; } /**