From e066488f8ba12dd1426c3506f1b5b77c0d2d8d35 Mon Sep 17 00:00:00 2001 From: uwetews Date: Wed, 9 Mar 2016 01:44:10 +0100 Subject: [PATCH] - bugfix correct Autoloader update of 2.3.2014 https://github.com/smarty-php/smarty/issues/199 --- change_log.txt | 1 + libs/Autoloader.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index 401b8f68..a5ca29ca 100644 --- a/change_log.txt +++ b/change_log.txt @@ -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 diff --git a/libs/Autoloader.php b/libs/Autoloader.php index 35db883f..e8885532 100644 --- a/libs/Autoloader.php +++ b/libs/Autoloader.php @@ -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; }