Welcome Guest, Not a member yet? Register   Sign In
[Closed] Codeigniter Should Include Routing That Picks Up Multiple Folders.
#1

[eluser]riwakawd[/eluser]
Hi I have been so frustrated with the routes not picking up multiple subfolders. Example: controllers / folder / folder controller.php I have tried many pre made MY_Routes. They say it should pick up sub folders directories but do not work.

I think codeigniter should include custom route features that gets multiple sub directories. This is the only down side I can think of. Otherwise think codeigniter is great.
#2

[eluser]Narf[/eluser]
https://github.com/EllisLab/CodeIgniter/...de418fd7f5
#3

[eluser]riwakawd[/eluser]
[quote author="Narf" date="1397739446"]https://github.com/EllisLab/CodeIgniter/...de418fd7f5[/quote]

Is that newer version. I downloaded it tried it default controller did not let me $route['default_controller'] = 'frontend/common/welcome';

Still trying to figure it out I am. only works $route['default_controller'] = 'common/welcome';

would be a great new addition to be able to do this $route['default_controller'] = 'folder/folder/file'; also.
#4

[eluser]Narf[/eluser]
No, you can't do that.

Read this for more info: https://github.com/EllisLab/CodeIgniter/issues/2849




Theme © iAndrew 2016 - Forum software by © MyBB