mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix testInstall() did not propery check cache_dir and compile_dir
This commit is contained in:
@@ -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)
|
||||
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user