mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
- bugfix Smarty::compileAllTemplates ignores $extension
parameter https://github.com/smarty-php/smarty/issues/437
https://github.com/smarty-php/smarty/pull/438
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
===== 3.1.33-dev-3 =====
|
===== 3.1.33-dev-4 =====
|
||||||
17.05.2018
|
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
|
- 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
|
- bugfix plugins may not be loaded when setMergeCompiledIncludes is true https://github.com/smarty-php/smarty/issues/435
|
||||||
|
|
||||||
|
@@ -112,7 +112,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
/**
|
/**
|
||||||
* smarty version
|
* smarty version
|
||||||
*/
|
*/
|
||||||
const SMARTY_VERSION = '3.1.33-dev-3';
|
const SMARTY_VERSION = '3.1.33-dev-4';
|
||||||
/**
|
/**
|
||||||
* define variable scopes
|
* define variable scopes
|
||||||
*/
|
*/
|
||||||
|
@@ -75,7 +75,7 @@ class Smarty_Internal_Method_CompileAllTemplates
|
|||||||
if (substr(basename($_fileinfo->getPathname()), 0, 1) === '.' || strpos($_file, '.svn') !== false) {
|
if (substr(basename($_fileinfo->getPathname()), 0, 1) === '.' || strpos($_file, '.svn') !== false) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!substr_compare($_file, $extension, -strlen($extension)) === 0) {
|
if (substr_compare($_file, $extension, -strlen($extension)) !== 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ($_fileinfo->getPath() !== substr($_dir, 0, -1)) {
|
if ($_fileinfo->getPath() !== substr($_dir, 0, -1)) {
|
||||||
|
Reference in New Issue
Block a user