summaryrefslogtreecommitdiffstats
path: root/system/libraries/Output.php
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2007-07-20 02:01:13 +0200
committerRick Ellis <rick.ellis@ellislab.com>2007-07-20 02:01:13 +0200
commit30b40153739419d50c64e2dce338166a5c58ab58 (patch)
tree610dbb7ec96a57fedfd42ab51341d8ec6a010619 /system/libraries/Output.php
parentc2c256143d99a0e6695cb2f16d968e27ef9e9036 (diff)
Diffstat (limited to 'system/libraries/Output.php')
-rw-r--r--system/libraries/Output.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Output.php b/system/libraries/Output.php
index 756d4b4cc..53003f180 100644
--- a/system/libraries/Output.php
+++ b/system/libraries/Output.php
@@ -301,7 +301,7 @@ class CI_Output {
function _display_cache(&$CFG, &$RTR)
{
$CFG =& load_class('Config');
- $RTR =& load_class('Router');
+ $URI =& load_class('URI');
$cache_path = ($CFG->item('cache_path') == '') ? BASEPATH.'cache/' : $CFG->item('cache_path');
@@ -313,7 +313,7 @@ class CI_Output {
// Build the file path. The file name is an MD5 hash of the full URI
$uri = $CFG->item('base_url').
$CFG->item('index_page').
- $RTR->uri_string;
+ $URI->uri_string;
$filepath = $cache_path.md5($uri);