summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-02-14 07:14:21 +0100
committerGreg Aker <greg.aker@ellislab.com>2011-02-14 07:14:21 +0100
commit23351dc30a1787d30a97dd0a8ba83d6e312a5a2f (patch)
tree35018076a7aa43832a4dd995c3352e2ced21bddd /system/libraries/Cache
parentd73eb76bb62e8a81eb186a4b6bff336cc95ba9e8 (diff)
Fix #329 where the file caching driver referenced the incorrect cache directory.
Diffstat (limited to 'system/libraries/Cache')
-rw-r--r--system/libraries/Cache/drivers/Cache_file.php2
1 files changed, 1 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;
}
// ------------------------------------------------------------------------