summaryrefslogtreecommitdiffstats
path: root/system/codeigniter
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-02 04:39:45 +0200
committeradmin <devnull@localhost>2006-09-02 04:39:45 +0200
commiteb6db84333c40ed8d15dec5014564120ee0c60e6 (patch)
tree550ed1822d36fa35469ad4d7cc60a116789b1213 /system/codeigniter
parent671dc754ef954eecf4c2e8301dde5b3aba6bfedc (diff)
Diffstat (limited to 'system/codeigniter')
-rw-r--r--system/codeigniter/CodeIgniter.php5
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();