mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
- bugfix autoloader exit shortcut https://github.com/smarty-php/smarty/issues/467
This commit is contained in:
@@ -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
|
||||||
|
@@ -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);
|
||||||
|
@@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user