From 23351dc30a1787d30a97dd0a8ba83d6e312a5a2f Mon Sep 17 00:00:00 2001
From: Greg Aker
Date: Mon, 14 Feb 2011 00:14:21 -0600
Subject: Fix #329 where the file caching driver referenced the incorrect cache
directory.
---
system/libraries/Cache/drivers/Cache_file.php | 2 +-
user_guide/changelog.html | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/system/libraries/Cache/drivers/Cache_file.php b/system/libraries/Cache/drivers/Cache_file.php
index 3ed357f2f..86d1a3b6a 100644
--- a/system/libraries/Cache/drivers/Cache_file.php
+++ b/system/libraries/Cache/drivers/Cache_file.php
@@ -39,7 +39,7 @@ class Cache_file extends CI_Driver {
$path = $CI->config->item('cache_path');
- $this->_cache_path = ($path == '') ? BASEPATH.'cache/' : $path;
+ $this->_cache_path = ($path == '') ? APPPATH.'cache/' : $path;
}
// ------------------------------------------------------------------------
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 388f25d2a..c37bd4f26 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -75,6 +75,7 @@ Hg Tag: n/a
- CLI requests can now be run from any folder, not just when CD'ed next to index.php.
- Fixed issue #41: Added audio/mp3 mime type to mp3.
+ - Fixed a bug (#329) where the file caching driver referenced the incorrect cache directory.
Version 2.0.0
--
cgit v1.2.3-24-g4f1b