Welcome Guest, Not a member yet? Register   Sign In
[Solved] Default Controller To Work With Second Level
#7

[eluser]riwakawd[/eluser]
[quote author="ivantcholakov" date="1398174816"]Why do you insist on this? What is the benefit?[/quote]

Sorry for late reply.

I think having the extra folder capabilities for the $route[default_controller] is better.

It just makes it easier for making nice and cleaner files some people I have seen put all there admin files in one controller folder. You should be able to them to put in sub folders.

I know you can do it for custom routes but for some reason codeigniter does not allow it for $route[default_controller]

Because I like to separate them. example.

controller / frontend / common folder
controller / frontend / common / header.php
controller / frontend / common / footer.php
controller / frontend / common / home.php As default controller. Does not work because codeigniter don't allow extra folders. for $route[default_controller]

My own opinion they should let you be able to have unlimited folder range for default controller routes. But don't think they will change it.


Messages In This Thread
[Solved] Default Controller To Work With Second Level - by El Forum - 04-21-2014, 10:24 PM
[Solved] Default Controller To Work With Second Level - by El Forum - 04-22-2014, 06:53 AM
[Solved] Default Controller To Work With Second Level - by El Forum - 04-22-2014, 07:13 AM
[Solved] Default Controller To Work With Second Level - by El Forum - 04-23-2014, 10:42 AM
[Solved] Default Controller To Work With Second Level - by El Forum - 04-23-2014, 11:39 AM
[Solved] Default Controller To Work With Second Level - by El Forum - 04-23-2014, 12:48 PM
[Solved] Default Controller To Work With Second Level - by El Forum - 04-23-2014, 02:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB