Welcome Guest, Not a member yet? Register   Sign In
multi controller in subfolder
#2

[eluser]CroNiX[/eluser]
/application/controller/backend/controller1.php (you can only go 1 directory deep in /controller, so you can't have /controller/dir1/dir2/controller1.php)

URL: http://yoursite.com/index.php/backend/controller1 (assuming you haven't removed the index.php using htaccess)

Personally, I'd just have "backend" and leave the front facing controllers in /application/controllers. Otherwise your urls for the frontend will all have "frontend" in them unless you remove them with routes.



Messages In This Thread
multi controller in subfolder - by El Forum - 05-11-2012, 09:16 AM
multi controller in subfolder - by El Forum - 05-11-2012, 10:05 AM
multi controller in subfolder - by El Forum - 05-11-2012, 10:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB