From 30b40153739419d50c64e2dce338166a5c58ab58 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Fri, 20 Jul 2007 00:01:13 +0000 Subject: --- system/codeigniter/CodeIgniter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/codeigniter') diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 1cd66a187..160d86c8e 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php @@ -77,6 +77,7 @@ $EXT->_call_hook('pre_system'); */ $CFG =& load_class('Config'); +$URI =& load_class('URI'); $RTR =& load_class('Router'); $OUT =& load_class('Output'); @@ -101,7 +102,6 @@ if ($EXT->_call_hook('cache_override') === FALSE) */ $IN =& load_class('Input'); -$URI =& load_class('URI'); $LANG =& load_class('Language'); /* @@ -213,7 +213,7 @@ else // Call the requested method. // Any URI segments present (besides the class/function) will be passed to the method for convenience - call_user_func_array(array(&$CI, $method), array_slice($RTR->rsegments, (($RTR->fetch_directory() == '') ? 2 : 3))); + call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments, (($RTR->fetch_directory() == '') ? 2 : 3))); } } -- cgit v1.2.3-24-g4f1b