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

[eluser]haydenp[/eluser]
Thanks for the feedback all

xwero, your method did exactly what I needed, thanks. I'm new to CI, would you mind giving a brief breakdown of what the code you provided is doing?

I'm still trying to get my head around why my default controller was being called when trying to access the root of a controllers subfloder

http:/www.mywebsite.com/index.php/admin/login/ ... this works perfectly as expected

BUT

http:/www.mywebsite.com/index.php/admin/ ... was executing my default controller when I WOULD HAVE expected a 404 to display (which is what I want)

Many thanks!


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