Skip to content

Commit

Permalink
- bugfix correct Autoloader update of 2.3.2014 #199
Browse files Browse the repository at this point in the history
  • Loading branch information
uwetews committed Mar 9, 2016
1 parent abf5be5 commit e066488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libs/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static function autoload($class)
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;
}
Expand Down

0 comments on commit e066488

Please sign in to comment.