• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Admin CP and Sub-Directory

#1
Exclamation 
At the second point in this guide https://philsturgeon.uk/blog/2009/07/Cre...deIgniter/ talks about the sub-directory for create an admin cp and the routers.
But my question is: How create a general route for every controller that I create in the sub-directory "admin" for example?

And when I write $route[‘admin’] = ‘admin/dashboard’; codeigniter should not look for the controller "admin" with the method "Dashboard"?

Sorry for the questions, I have probably done a bit of confusion.
Could you explain how to create an admin cp using subdirectories?

Thanks for the reply.
Reply


Messages In This Thread
Admin CP and Sub-Directory - by StratoKyke - 06-07-2015, 01:30 PM
RE: Admin CP and Sub-Directory - by Diederik - 06-07-2015, 04:13 PM
RE: Admin CP and Sub-Directory - by Blair2004 - 06-07-2015, 05:17 PM
RE: Admin CP and Sub-Directory - by Avenirer - 06-08-2015, 01:02 AM
RE: Admin CP and Sub-Directory - by StratoKyke - 06-08-2015, 02:44 AM
RE: Admin CP and Sub-Directory - by Avenirer - 06-08-2015, 03:03 AM
RE: Admin CP and Sub-Directory - by StratoKyke - 06-08-2015, 03:09 AM
RE: Admin CP and Sub-Directory - by Blair2004 - 06-08-2015, 06:39 AM
RE: Admin CP and Sub-Directory - by StratoKyke - 06-08-2015, 06:53 AM
RE: Admin CP and Sub-Directory - by CroNiX - 06-08-2015, 08:55 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.