From 15c2bcc24c4b4f4999c5dc73eab57b9b3a6f942e Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 18 Sep 2006 08:17:56 +0000 Subject: --- system/libraries/Output.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'system/libraries/Output.php') diff --git a/system/libraries/Output.php b/system/libraries/Output.php index c5a9a6281..fd07a9f6e 100644 --- a/system/libraries/Output.php +++ b/system/libraries/Output.php @@ -178,7 +178,7 @@ class CI_Output { * @access public * @return void */ - function _display_cache() + function _display_cache(&$CFG, &$RTR) { $CFG =& _load_class('CI_Config'); $RTR =& _load_class('CI_Router'); @@ -191,10 +191,9 @@ class CI_Output { } // Build the file path. The file name is an MD5 hash of the full URI - $obj =& get_instance(); - $uri = $obj->config->item('base_url'). - $obj->config->item('index_page'). - $obj->uri->uri_string(); + $uri = $CFG->item('base_url'). + $CFG->item('index_page'). + $RTR->uri_string; $filepath = $cache_path.md5($uri); -- cgit v1.2.3-24-g4f1b