Welcome Guest, Not a member yet? Register   Sign In
default controller in sub folder
#5

(11-06-2014, 06:58 PM)bobykurniawan Wrote: This what i do

$route['setting'] = "m_admin/setting/sidebar";

m_admin is folder name, Settings is controller name and sidebar is function name

That is what you've done in CI2, you are in the "CodeIgniter 3.x" forum.

(11-06-2014, 08:38 PM)obozdag Wrote: @Narf 1- It is working in CI 2.2 (folder/controller).
2- In CI 3.0 ChangeLog Core/Routing section it says - Added support for per-directory default_controller and 404_override classes.
3- In Bug Fixes section - Fixed a bug - :doc:`Routing Library <general/routing>` didn't properly handle default_controller in a subdirectory when a method is also specified.

I think here is a bug or backward incompatibility.

1. Yes, I know it's "working" in CI 2.2.
2. Yes, and it works in a completely different way.
3. Yes, this bug is what has allowed you to say 1. It was a bug that you were able to do that. Smile
Reply


Messages In This Thread
default controller in sub folder - by obozdag - 11-06-2014, 05:45 AM
RE: default controller in sub folder - by Narf - 11-06-2014, 04:23 PM
RE: default controller in sub folder - by obozdag - 11-06-2014, 08:38 PM
RE: default controller in sub folder - by Narf - 11-06-2014, 11:29 PM
RE: default controller in sub folder - by obozdag - 11-07-2014, 12:54 AM
RE: default controller in sub folder - by Narf - 11-07-2014, 02:45 AM
RE: default controller in sub folder - by ciadmin - 11-07-2014, 02:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB