From 54fc30075af7812aefe7970dd482555d2bfb2919 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 5 Jan 2013 13:55:14 +0100 Subject: [PATCH] Fixes SetupTemplateEngine --- .../lib/system/template/SetupTemplateEngine.class.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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'; } /** -- 2.20.1