Added registerPlugin in RegisterSmartyPluginPass
This commit is contained in:
@@ -60,5 +60,7 @@ class RegisterSmartyPluginPass implements CompilerPassInterface {
|
||||
));
|
||||
}*/
|
||||
}
|
||||
|
||||
$smarty->addMethodCall("registerPlugins");
|
||||
}
|
||||
}
|
||||
@@ -235,8 +235,6 @@ class SmartyParser extends Smarty implements ParserInterface {
|
||||
*/
|
||||
public function getContent()
|
||||
{
|
||||
$this->registerPlugins();
|
||||
|
||||
return $this->fetch($this->getTemplateFilePath());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user