summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-06-06 16:17:57 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-06-06 16:17:57 +0200
commit57aea15ffffd3c92080380aa188067039c4696b8 (patch)
tree103d2f5cfcf8e98fcfff98327fff9bf846fb8e04 /system
parent96537fd0b7bc72134c584546b5aeda5435301c65 (diff)
Removed an unused Router reference in _display_cache().
Diffstat (limited to 'system')
-rw-r--r--system/codeigniter/CodeIgniter.php2
-rw-r--r--system/libraries/Output.php4
2 files changed, 2 insertions, 4 deletions
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php
index da20c48a1..74e5e8b44 100644
--- a/system/codeigniter/CodeIgniter.php
+++ b/system/codeigniter/CodeIgniter.php
@@ -103,7 +103,7 @@ $OUT =& load_class('Output');
if ($EXT->_call_hook('cache_override') === FALSE)
{
- if ($OUT->_display_cache($CFG, $RTR) == TRUE)
+ if ($OUT->_display_cache($CFG, $URI) == TRUE)
{
exit;
}
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))