commit | a4d35347327c1e9a464696d153ad6f2ec4510283 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Thu Sep 21 17:21:57 2006 +0000 |
committer | admin <devnull@localhost> | Thu Sep 21 17:21:57 2006 +0000 |
tree | 8342f69529d6089b617c7de9b7820aa3d9146da0 | |
parent | 99bccd6aea613901d7eaf74f141f78342e2ec333 [diff] [blame] |
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 5146c80..de1e910 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php
@@ -196,8 +196,10 @@ { show_404(); } - - $CI->$method(); + + // 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)); } }