diff --git a/change_log.txt b/change_log.txt index 6308219a..a16452f6 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== trunk ===== +16.10.2011 +- bugfix testInstall() did not propery check cache_dir and compile_dir + 15.10.2011 - bugfix Smarty_Resource and Smarty_CacheResource runtime caching (Forum Post 75264) diff --git a/libs/sysplugins/smarty_internal_utility.php b/libs/sysplugins/smarty_internal_utility.php index 01d2c5c5..2c184cd3 100644 --- a/libs/sysplugins/smarty_internal_utility.php +++ b/libs/sysplugins/smarty_internal_utility.php @@ -359,7 +359,7 @@ class Smarty_Internal_Utility { // test if registered compile_dir is accessible $__compile_dir = $smarty->getCompileDir(); $_compile_dir = realpath($__compile_dir); - if (!$__compile_dir) { + if (!$_compile_dir) { $status = false; $message = "FAILED: {$__compile_dir} does not exist"; if ($errors === null) { @@ -488,7 +488,7 @@ class Smarty_Internal_Utility { // test if all registered cache_dir is accessible $__cache_dir = $smarty->getCacheDir(); $_cache_dir = realpath($__cache_dir); - if (!$__cache_dir) { + if (!$_cache_dir) { $status = false; $message = "FAILED: {$__cache_dir} does not exist"; if ($errors === null) {