summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Output.php8
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))