diff --git a/change_log.txt b/change_log.txt index 3d3f2e34f..c180868de 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,5 +1,7 @@ -===== 3.1.33-dev-3 ===== +===== 3.1.33-dev-4 ===== 17.05.2018 + - Smarty::compileAllTemplates ignores `$extension` parameter https://github.com/smarty-php/smarty/issues/437 + https://github.com/smarty-php/smarty/pull/438 - improvement do not compute total property in {foreach} if not needed https://github.com/smarty-php/smarty/issues/443 - bugfix plugins may not be loaded when setMergeCompiledIncludes is true https://github.com/smarty-php/smarty/issues/435 diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 2116f74da..ad52cbc65 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -112,7 +112,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * smarty version */ - const SMARTY_VERSION = '3.1.33-dev-3'; + const SMARTY_VERSION = '3.1.33-dev-4'; /** * define variable scopes */ diff --git a/libs/sysplugins/smarty_internal_method_compilealltemplates.php b/libs/sysplugins/smarty_internal_method_compilealltemplates.php index 64912599f..6e7c40cd2 100644 --- a/libs/sysplugins/smarty_internal_method_compilealltemplates.php +++ b/libs/sysplugins/smarty_internal_method_compilealltemplates.php @@ -75,7 +75,7 @@ protected function compileAll(Smarty $smarty, if (substr(basename($_fileinfo->getPathname()), 0, 1) === '.' || strpos($_file, '.svn') !== false) { continue; } - if (!substr_compare($_file, $extension, -strlen($extension)) === 0) { + if (substr_compare($_file, $extension, -strlen($extension)) !== 0) { continue; } if ($_fileinfo->getPath() !== substr($_dir, 0, -1)) {