diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-12-21 18:44:08 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-12-21 18:44:08 +0100 |
commit | 2eaa4074ea007cec58a802f591b4641b043213d1 (patch) | |
tree | 760887a7759177b1d58f97068bf74fe005fe5af0 /system/core | |
parent | 11eb2dcb181c4518d19646867e499c85d449208e (diff) |
Moving system/{logs,cache} to the application directory.
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Output.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Output.php b/system/core/Output.php index 0b708e110..c83b90f00 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -347,7 +347,7 @@ class CI_Output { $CI =& get_instance(); $path = $CI->config->item('cache_path'); - $cache_path = ($path == '') ? BASEPATH.'cache/' : $path; + $cache_path = ($path == '') ? APPPATH.'cache/' : $path; if ( ! is_dir($cache_path) OR ! is_really_writable($cache_path)) { @@ -395,7 +395,7 @@ class CI_Output { */ function _display_cache(&$CFG, &$URI) { - $cache_path = ($CFG->item('cache_path') == '') ? BASEPATH.'cache/' : $CFG->item('cache_path'); + $cache_path = ($CFG->item('cache_path') == '') ? APPPATH.'cache/' : $CFG->item('cache_path'); // Build the file path. The file name is an MD5 hash of the full URI $uri = $CFG->item('base_url'). |