Fixed static includes during setup
authorAlexander Ebert <ebert@woltlab.com>
Thu, 9 Feb 2012 12:50:13 +0000 (13:50 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 9 Feb 2012 12:50:13 +0000 (13:50 +0100)
wcfsetup/install/files/lib/system/template/SetupTemplateEngine.class.php

index f34d2582c47c3efa412d56a6d2b7bf186bfbd97a..bf9b231b104ee74fdef6ad614f176a10dd330608 100644 (file)
@@ -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.
         */