commit | 9cab42746a4f1bfcce9620fa87bec5d2f590666e | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Sun Mar 30 18:58:23 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Sun Mar 30 18:58:23 2014 +0300 |
tree | 17dbedacb377c9c51ffacbab4266e504a4731937 | |
parent | a8b0efb5012618dcfa54a88a417929f7d1f2be15 [diff] [blame] |
Fix #2976
diff --git a/system/core/Router.php b/system/core/Router.php index 765e323..ea4f4a4 100644 --- a/system/core/Router.php +++ b/system/core/Router.php
@@ -258,6 +258,10 @@ { $this->set_method($segments[1]); } + else + { + $segments[1] = 'index'; + } array_unshift($segments, NULL); unset($segments[0]);