diff options
author | Andrey Andreev <narf@devilix.net> | 2014-03-30 17:58:23 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-03-30 17:58:23 +0200 |
commit | 9cab42746a4f1bfcce9620fa87bec5d2f590666e (patch) | |
tree | 17dbedacb377c9c51ffacbab4266e504a4731937 /system/core | |
parent | a8b0efb5012618dcfa54a88a417929f7d1f2be15 (diff) |
Fix #2976
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Router.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/core/Router.php b/system/core/Router.php index 765e32374..ea4f4a4f7 100644 --- a/system/core/Router.php +++ b/system/core/Router.php @@ -258,6 +258,10 @@ class CI_Router { { $this->set_method($segments[1]); } + else + { + $segments[1] = 'index'; + } array_unshift($segments, NULL); unset($segments[0]); |