Welcome Guest, Not a member yet? Register   Sign In
[Solved] Routing Question.
#1

(This post was last modified: 10-31-2015, 02:26 AM by wolfgang1983.)

I know this question problem has been asked quite a few times.

With codeigniter 3.0 + versions you are not able to have sub folders for default controller in routes.php

// Not allowed
$route['default_controller'] = subfolder/'welcome';

// Allowed
$route['default_controller'] = 'welcome';

Has any one come up with a Custom MY_Router.php that could over ride that? to allow to have sub folders in default_controller in routes on CI3 versions?

I know people say it not the norm to have it like that but would be good if could have option like what HMVC does.
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
[Solved] Routing Question. - by wolfgang1983 - 10-30-2015, 11:07 PM
RE: Routing Question. - by ignitedcms - 10-31-2015, 12:54 AM
RE: Routing Question. - by wolfgang1983 - 10-31-2015, 02:17 AM
RE: Routing Question. - by Martin7483 - 10-31-2015, 01:37 AM
RE: Routing Question. - by wolfgang1983 - 10-31-2015, 02:04 AM
RE: Routing Question. - by Martin7483 - 10-31-2015, 02:23 AM
RE: Routing Question. - by wolfgang1983 - 10-31-2015, 02:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB