From 9698378de787e0edb0731de7f0eaa4d0f83e5d96 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 9 Feb 2012 13:50:13 +0100 Subject: [PATCH] Fixed static includes during setup --- .../system/template/SetupTemplateEngine.class.php | 14 +++++++------- 1 file changed, 7 insertions(+), 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 f34d2582c4..bf9b231b10 100644 --- a/wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php @@ -32,6 +32,13 @@ class SetupTemplateEngine extends TemplateEngine { return $this->compileDir.'setup/template/compiled/'.$this->languageID.'_'.$templateName.'.php'; } + /** + * @see wcf\system\template\TemplateEngine::getMetaDataFilename() + */ + public function getMetaDataFilename($templateName, $packageID) { + return $this->compileDir.'setup/template/compiled/'.$this->languageID.'_'.$templateName.'.meta.php'; + } + /** * @see wcf\system\template\TemplateEngine::getPackageID() */ @@ -44,13 +51,6 @@ class SetupTemplateEngine extends TemplateEngine { throw new SystemException("Unable to find template '$templateName'"); } - /** - * @see wcf\system\template\TemplateEngine::getCompiler() - */ - protected function getCompiler() { - return new TemplateCompiler($this); - } - /** * Template Listener are not available during setup. */ -- 2.20.1