This commit is contained in:
uwetews
2018-10-14 04:18:45 +02:00
parent b05bc1b617
commit 3626e37c53
3 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
===== 3.1.34-dev-2 ===== ===== 3.1.34-dev-5 =====
14.10.2018
- bugfix autoloader exit shortcut https://github.com/smarty-php/smarty/issues/467
11.10.2018 11.10.2018
- bugfix {insert} not works when caching is enabled and included template is present - bugfix {insert} not works when caching is enabled and included template is present
https://github.com/smarty-php/smarty/issues/496 https://github.com/smarty-php/smarty/issues/496

View File

@@ -90,7 +90,7 @@ class Smarty_Autoloader
*/ */
public static function autoload($class) public static function autoload($class)
{ {
if ($class[ 0 ] !== 'S' && strpos($class, 'Smarty') !== 0) { if ($class[ 0 ] !== 'S' || strpos($class, 'Smarty') !== 0) {
return; return;
} }
$_class = strtolower($class); $_class = strtolower($class);

View File

@@ -112,7 +112,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/** /**
* smarty version * smarty version
*/ */
const SMARTY_VERSION = '3.1.34-dev-4'; const SMARTY_VERSION = '3.1.34-dev-5';
/** /**
* define variable scopes * define variable scopes
*/ */