Added registerPlugin in RegisterSmartyPluginPass

This commit is contained in:
franck
2013-06-19 12:00:54 +02:00
parent 9e95f034ec
commit 3f1b2d6b92
2 changed files with 2 additions and 2 deletions

View File

@@ -60,5 +60,7 @@ class RegisterSmartyPluginPass implements CompilerPassInterface {
));
}*/
}
$smarty->addMethodCall("registerPlugins");
}
}

View File

@@ -235,8 +235,6 @@ class SmartyParser extends Smarty implements ParserInterface {
*/
public function getContent()
{
$this->registerPlugins();
return $this->fetch($this->getTemplateFilePath());
}