[eluser]NeoArc[/eluser]
You can create custom configuration values, when overriding the _set_routing() method of the CI_router class:
Code:
<?php
//core/MY_Router.php
class MY_Router extends CI_Router {
//...
function _set_routing()
{
//...
$this->routes = ( ! isset($route) OR ! is_array($route)) ? array() : $route;
$this->config->set_item('route_config', $this->routes);
//...
}
//...
}