From a7f5a94d9ecc371a1ee9fb3b5ffe4bfdd90b5e2d Mon Sep 17 00:00:00 2001
From: Greg Aker
Date: Tue, 14 Sep 2010 17:20:53 -0500
Subject: Added a log message in core/output if the cache directory config
value was not found.
---
system/core/Output.php | 1 +
user_guide/changelog.html | 1 +
2 files changed, 2 insertions(+)
diff --git a/system/core/Output.php b/system/core/Output.php
index e25e62197..7d3e2e180 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -346,6 +346,7 @@ class CI_Output {
if ( ! is_dir($cache_path) OR ! is_really_writable($cache_path))
{
+ log_message('error', "Unable to write cache file: ".$cache_path);
return;
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 9bb4a4e81..fb533b082 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -185,6 +185,7 @@ Hg Tag:
Fixed a bug in the Encryption library where an empty key was not triggering an error.
Fixed a bug in the Email library where CC and BCC recipients were not reset when using the clear() method (#109).
Fixed a bug in the URL Helper where prep_url() could cause a PHP error on PHP versions < 5.1.2.
+ Added a log message in core/output if the cache directory config value was not found.
Version 1.7.2
--
cgit v1.2.3-24-g4f1b