Welcome Guest, Not a member yet? Register   Sign In
Controller Subfolder Structure - Prevent Root Access
#6

[eluser]xwero[/eluser]
The router separates the directory, class and method. If the url only matches a directory it sets the default controller and method as the one that needs to displayed.

My code checks the directory based on the path of index.php, FCPATH, and the segments fetched by the uri class.


Messages In This Thread
Controller Subfolder Structure - Prevent Root Access - by El Forum - 03-13-2009, 01:17 PM
Controller Subfolder Structure - Prevent Root Access - by El Forum - 03-13-2009, 02:57 PM
Controller Subfolder Structure - Prevent Root Access - by El Forum - 03-13-2009, 08:38 PM
Controller Subfolder Structure - Prevent Root Access - by El Forum - 03-14-2009, 02:17 AM
Controller Subfolder Structure - Prevent Root Access - by El Forum - 03-15-2009, 02:50 PM
Controller Subfolder Structure - Prevent Root Access - by El Forum - 03-15-2009, 04:02 PM
Controller Subfolder Structure - Prevent Root Access - by El Forum - 03-16-2009, 04:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB