• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create Admin Section in CodeIgniter Project?

#2
Quote:Should I create an ADMIN Folder in APPLICATION folder and install another CI in it?

I certainly wouldn't do that. You can create an admin controller, containing the functions for modifying data (in your database).
Make sure you have a login procedure that forces you to log in when you access the admin controller. Let the constructor of the admin controller check if you're logged in as admin or not.
You can develop your own authentication system, but you really don't need to. There are various authentication libraries for CI, like Ion_auth and Community_auth.
Reply


Messages In This Thread
RE: How to create Admin Section in CodeIgniter Project? - by Wouter60 - 03-24-2017, 02:06 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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