Skip to content

Commit 79e18b2

Browse files
committed
Update Views/SmartyView.php
1 parent 1791cd3 commit 79e18b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Views/SmartyView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public static function getInstance() {
105105
self::$smartyInstance = new Smarty();
106106
self::$smartyInstance->template_dir = is_null(self::$smartyTemplatesDirectory) ? $this->getTemplatesDirectory() : self::$smartyTemplatesDirectory;
107107
if ( self::$smartyExtensions ) {
108-
self::$smartyInstance->setPluginsDir(self::$smartyExtensions);
108+
self::$smartyInstance->addPluginsDir(self::$smartyExtensions);
109109
}
110110
if ( self::$smartyCompileDirectory ) {
111111
self::$smartyInstance->compile_dir = self::$smartyCompileDirectory;

0 commit comments

Comments
 (0)