From: Alexander Ebert Date: Thu, 9 Feb 2012 12:50:13 +0000 (+0100) Subject: Fixed static includes during setup X-Git-Tag: 2.0.0_Beta_1~1358^2~28 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9698378de787e0edb0731de7f0eaa4d0f83e5d96;p=GitHub%2FWoltLab%2FWCF.git Fixed static includes during setup --- 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. */