diff options
author | Greg Aker <greg.aker@ellislab.com> | 2011-02-14 07:14:21 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2011-02-14 07:14:21 +0100 |
commit | 23351dc30a1787d30a97dd0a8ba83d6e312a5a2f (patch) | |
tree | 35018076a7aa43832a4dd995c3352e2ced21bddd | |
parent | d73eb76bb62e8a81eb186a4b6bff336cc95ba9e8 (diff) |
Fix #329 where the file caching driver referenced the incorrect cache directory.
-rw-r--r-- | system/libraries/Cache/drivers/Cache_file.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 1 |
2 files changed, 2 insertions, 1 deletions
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</p> <ul> <li class="reactor">CLI requests can now be run from any folder, not just when CD'ed next to index.php.</li> <li class="reactor">Fixed issue #41: Added audio/mp3 mime type to mp3.</li> + <li class="reactor">Fixed a bug (#329) where the file caching driver referenced the incorrect cache directory.</li> </ul> <h2>Version 2.0.0</h2> |