summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2010-12-15 16:53:35 +0100
committerPascal Kriete <pascal.kriete@ellislab.com>2010-12-15 16:53:35 +0100
commit790ebf3a77677dd6d7473bb14f8e9c5594ddcb46 (patch)
treeebde73fd425de556db663d9a0defe721613f7bb5 /system
parent6c1d3fa35198c54c69e37aa74fa80723209c1d1e (diff)
Changing the router to support any number of segments in the default route. Closes #261.
Diffstat (limited to 'system')
-rw-r--r--system/core/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Router.php b/system/core/Router.php
index 9276800c3..e21519329 100644
--- a/system/core/Router.php
+++ b/system/core/Router.php
@@ -144,7 +144,7 @@ class CI_Router {
$this->set_class($x[0]);
$this->set_method($x[1]);
- $this->_set_request(array($x[0], $x[1]));
+ $this->_set_request($x);
}
else
{