- bugfix correct Autoloader update of 2.3.2014 https://github.com/smarty-php/smarty/issues/199

This commit is contained in:
uwetews
2016-03-09 01:44:10 +01:00
parent abf5be58ad
commit e066488f8b
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
09.03.2014
- improvement rework of 'scope' attribute handling see see NEW_FEATURES.txt https://github.com/smarty-php/smarty/issues/194
https://github.com/smarty-php/smarty/issues/186 https://github.com/smarty-php/smarty/issues/179
- bugfix correct Autoloader update of 2.3.2014 https://github.com/smarty-php/smarty/issues/199
04.03.2016
- bugfix change from 01.03.2016 will cause $smarty->isCached(..) failure if called multiple time for same template

View File

@@ -97,7 +97,7 @@ class Smarty_Autoloader
if (is_file($file)) {
include $file;
} else if (isset(self::$rootClasses[ $_class ])) {
$file = self::$SMARTY_SYSPLUGINS_DIR . self::$rootClasses[ $_class ] . '.php';
$file = self::$SMARTY_DIR . self::$rootClasses[ $_class ];
if (is_file($file)) {
include $file;
}