diff options
author | admin <devnull@localhost> | 2006-09-24 03:33:56 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-24 03:33:56 +0200 |
commit | 7d85288f06b977a2e86477d989b9fb7a5611bd0a (patch) | |
tree | ce9272a434a55d382a5814d4332d169bae1df0d8 /system/codeigniter | |
parent | 8b180be71430efa5726389ee03107d1cadd52626 (diff) |
Diffstat (limited to 'system/codeigniter')
-rw-r--r-- | system/codeigniter/CodeIgniter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 0078b4596..434602742 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php @@ -198,8 +198,8 @@ 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, 2)); + // will be passed to the method for convenience + call_user_func_array(array(&$CI, $method), array_slice($RTR->rsegments, (($RTR->fetch_directory() == '') ? 2 : 3))); } } |