Solution 1
Router.php, protected public,
_set_default_controller()
_set_request()
_set_default_controller()
, CodeIgniter
Message: Undefined property: MY_Router::$translate_uri_dashes
a, , :
if(!empty($this->translate_uri_dashes))
{
if ($this->translate_uri_dashes === TRUE)
{
foreach(range(0, 2) as $v)
{
isset($segments[$v]) && $segments[$v] = str_replace('-', '_', $segments[$v]);
}
}
}
!
2
HMVC-ci,
http://lab.clearpixel.com.au/2011/10/modularise-your-codeigniter-2-applications-with-modular-extensions-%E2%80%93-hmvc/
ci 2.0.3 ci 2.2.2
3 ( )
(MY_Loader MY_Router) (MX) ci 2.0.3 ( ) ci 2.2.2, .