summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-09-15 00:20:53 +0200
committerGreg Aker <greg.aker@ellislab.com>2010-09-15 00:20:53 +0200
commita7f5a94d9ecc371a1ee9fb3b5ffe4bfdd90b5e2d (patch)
treef1602fa491fe27763b356b0cde8760eb4cb3c2a3
parentd2167a01ec5bd134a4138b50d76487caa72245c6 (diff)
Added a log message in core/output if the cache directory config value was not found.
-rw-r--r--system/core/Output.php1
-rw-r--r--user_guide/changelog.html1
2 files changed, 2 insertions, 0 deletions
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: </p>
<li>Fixed a bug in the Encryption library where an empty key was not triggering an error.</li>
<li>Fixed a bug in the Email library where CC and BCC recipients were not reset when using the clear() method (#109).</li>
<li>Fixed a bug in the URL Helper where prep_url() could cause a PHP error on PHP versions &lt; 5.1.2.</li>
+ <li>Added a log message in core/output if the cache directory config value was not found.</li>
</ul>
<h2>Version 1.7.2</h2>