From 57aea15ffffd3c92080380aa188067039c4696b8 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 6 Jun 2008 14:17:57 +0000 Subject: Removed an unused Router reference in _display_cache(). --- system/libraries/Output.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'system/libraries/Output.php') diff --git a/system/libraries/Output.php b/system/libraries/Output.php index 49cfc0a28..cc88f40a2 100644 --- a/system/libraries/Output.php +++ b/system/libraries/Output.php @@ -321,10 +321,8 @@ class CI_Output { * @access public * @return void */ - function _display_cache(&$CFG, &$RTR) + function _display_cache(&$CFG, &$URI) { - $URI =& load_class('URI'); - $cache_path = ($CFG->item('cache_path') == '') ? BASEPATH.'cache/' : $CFG->item('cache_path'); if ( ! is_dir($cache_path) OR ! is_really_writable($cache_path)) -- cgit v1.2.3-24-g4f1b