/**
* @see wcf\system\template\TemplateEngine::getCompiledFilename()
*/
- public function getCompiledFilename($templateName, $packageID) {
+ public function getCompiledFilename($templateName) {
return $this->compileDir.'setup/template/compiled/'.$this->languageID.'_'.$templateName.'.php';
}
/**
* @see wcf\system\template\TemplateEngine::getMetaDataFilename()
*/
- public function getMetaDataFilename($templateName, $packageID) {
+ public function getMetaDataFilename($templateName) {
return $this->compileDir.'setup/template/compiled/'.$this->languageID.'_'.$templateName.'.meta.php';
}
}
$tplPackageID = $this->getPackageID($templateName, $application);
- $compiledFilename = $this->getCompiledFilename($templateName, $tplPackageID);
+ $compiledFilename = $this->getCompiledFilename($templateName);
$sourceFilename = $this->getSourceFilename($templateName, $tplPackageID);
- $metaDataFilename = $this->getMetaDataFilename($templateName, $tplPackageID);
+ $metaDataFilename = $this->getMetaDataFilename($templateName);
$metaData = $this->getMetaData($templateName, $metaDataFilename);
// check if compilation is necessary
$tplPackageID = WCF::getTPL()->getPackageID($templateName, $metaData['application']);
$sourceFilename = WCF::getTPL()->getSourceFilename($templateName, $tplPackageID);
- $metaDataFilename = WCF::getTPL()->getMetaDataFilename($templateName, $tplPackageID);
+ $metaDataFilename = WCF::getTPL()->getMetaDataFilename($templateName);
$data = $this->compileString($templateName, file_get_contents($sourceFilename), array(
'application' => $metaData['application'],