diff options
author | admin <devnull@localhost> | 2006-09-15 22:48:15 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-15 22:48:15 +0200 |
commit | 1856f58a16da54f12414350f2e2a833d0cdd7d45 (patch) | |
tree | 9f75ba72e4d8c90dea86b209811b842d057f060c /system | |
parent | 43a46cc3d3d485a50c287d33ad94f044f8a6c46c (diff) |
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Output.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/system/libraries/Output.php b/system/libraries/Output.php index 7a03cf9c7..9523599e7 100644 --- a/system/libraries/Output.php +++ b/system/libraries/Output.php @@ -147,7 +147,7 @@ class CI_Output { return; } - $uri = $obj->config->slash_item('base_url'). + $uri = $obj->config->item('base_url'). $obj->config->item('index_page'). $obj->uri->uri_string(); @@ -191,8 +191,10 @@ class CI_Output { } // Build the file path. The file name is an MD5 hash of the full URI - $uri = $CFG->item('base_url', 1).$CFG->item('index_page').$RTR->uri_string; - + $uri = $obj->config->item('base_url'). + $obj->config->item('index_page'). + $obj->uri->uri_string(); + $filepath = $cache_path.md5($uri); if ( ! @file_exists($filepath)) |