Fixed  bug (#3445) where the routed segment array when the default controller is used was not being re-indexed to begin with 1
diff --git a/system/libraries/Router.php b/system/libraries/Router.php
index d24192c..f6464a3 100644
--- a/system/libraries/Router.php
+++ b/system/libraries/Router.php
@@ -102,6 +102,9 @@
 			$this->set_method('index');

 			$this->_set_request(array($this->default_controller, 'index'));

 			

+			// re-index the routed segments array so it starts with 1 rather than 0

+			$this->uri->_reindex_segments();

+			

 			log_message('debug', "No URI present. Default controller set.");

 			return;

 		}