diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-01-30 04:47:03 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-01-30 04:47:03 +0100 |
commit | d45379e879419a3de63ab226b2458c4764c7c001 (patch) | |
tree | 74c773e0c662da05ae0e688b30df45cdd94406f2 /system | |
parent | f37fa6edd5f6e12de1ad93861fd640fa8e939f42 (diff) |
Fixed a bug (#3269) where the rsegment array would not be set properly when there is no URI request.
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Router.php | 3 |
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;
}
|