summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Router.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php
index df72cea26..fd0ffa22a 100644
--- a/system/libraries/Router.php
+++ b/system/libraries/Router.php
@@ -100,7 +100,8 @@ class CI_Router {
$this->set_class($this->default_controller);
$this->set_method('index');
-
+ $this->_set_request(array($this->default_controller, 'index'));
+
log_message('debug', "No URI present. Default controller set.");
return;
}