commit | eb6db84333c40ed8d15dec5014564120ee0c60e6 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sat Sep 02 02:39:45 2006 +0000 |
committer | admin <devnull@localhost> | Sat Sep 02 02:39:45 2006 +0000 |
tree | 550ed1822d36fa35469ad4d7cc60a116789b1213 | |
parent | 671dc754ef954eecf4c2e8301dde5b3aba6bfedc [diff] [blame] |
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 872f4c0..1f7850e 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php
@@ -188,6 +188,11 @@ } else { + if ($method == $class) + { + $method = 'index'; + } + if ( ! method_exists($CI, $method)) { show_404();