- bugfix testInstall() did not propery check cache_dir and compile_dir

This commit is contained in:
rodneyrehm
2011-10-16 09:53:14 +00:00
parent 131553272a
commit eea360e87d
2 changed files with 5 additions and 2 deletions

View File

@@ -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)

View File

@@ -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) {