summaryrefslogtreecommitdiffstats
path: root/system/codeigniter
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-23 19:39:41 +0200
committeradmin <devnull@localhost>2006-09-23 19:39:41 +0200
commitb5a651cd710f7454425b9b94ff4a44fc4edacaba (patch)
treeb5f6e42868f439eb0a05a93f041bbcca0692a5ff /system/codeigniter
parent4e9f3f90ed26a0dc4bcacf106d6421bf725b5ae3 (diff)
Diffstat (limited to 'system/codeigniter')
-rw-r--r--system/codeigniter/CodeIgniter.php14
1 files changed, 3 insertions, 11 deletions
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php
index b055d3b1e..0078b4596 100644
--- a/system/codeigniter/CodeIgniter.php
+++ b/system/codeigniter/CodeIgniter.php
@@ -196,18 +196,10 @@ else
{
show_404();
}
-
- // Call the requested method. Any URI segments present (besides the class/function)
- // will be passed to the method for convenience, either as an array or discreet params
- if (isset($CI->_uri_as_array) AND $CI->_uri_as_array === TRUE)
- {
- $CI->$method(array_slice($RTR->rsegments, 2));
- }
- else
- {
- call_user_func_array(array(&$CI, $method), array_slice($RTR->rsegments, 2));
- }
+ // 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, 2));
}
}