diff options
author | admin <devnull@localhost> | 2006-09-02 04:39:45 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-02 04:39:45 +0200 |
commit | eb6db84333c40ed8d15dec5014564120ee0c60e6 (patch) | |
tree | 550ed1822d36fa35469ad4d7cc60a116789b1213 /system/codeigniter | |
parent | 671dc754ef954eecf4c2e8301dde5b3aba6bfedc (diff) |
Diffstat (limited to 'system/codeigniter')
-rw-r--r-- | system/codeigniter/CodeIgniter.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 872f4c049..1f7850ecf 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php @@ -188,6 +188,11 @@ if ($RTR->scaffolding_request === TRUE) } else { + if ($method == $class) + { + $method = 'index'; + } + if ( ! method_exists($CI, $method)) { show_404(); |