diff options
author | admin <devnull@localhost> | 2006-10-03 07:28:00 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-03 07:28:00 +0200 |
commit | 08f6020b0085842d4ae81949a0f4886c94158a55 (patch) | |
tree | d0b94a90f1d374c4fbc05160b12a1df07b7f52b1 /system/libraries/Router.php | |
parent | 2e949ec0c98da2b28b67c12445fb4e6b2f838223 (diff) |
Diffstat (limited to 'system/libraries/Router.php')
-rw-r--r-- | system/libraries/Router.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php index d62cf5090..7a4fd3899 100644 --- a/system/libraries/Router.php +++ b/system/libraries/Router.php @@ -530,6 +530,11 @@ class CI_Router { */ function fetch_method() { + if ($this->method == $this->fetch_class()) + { + return 'index'; + } + return $this->method; } |