diff options
author | admin <devnull@localhost> | 2006-09-18 10:17:56 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-18 10:17:56 +0200 |
commit | 15c2bcc24c4b4f4999c5dc73eab57b9b3a6f942e (patch) | |
tree | 94f8b37c4ecc9a6bf14329e98b69649efa2213ce /system | |
parent | 18c5682ca7a88b41905d49dcda0e128f86a90585 (diff) |
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Output.php | 9 |
1 files changed, 4 insertions, 5 deletions
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); |