• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to make a controller is a default route for a folder in the controllers folder


i am creating an admin panel that all of it's controllers contained in a folder called admin

i want to create a controller to work as the panel default page when i open the admin

controllers folder

how to do this ?

CodeIgniter Base Classes: Keeping it DRY

Create an Admin panel with CodeIgniter


Just add a route
$route['admin'] = 'admin/default_controller';

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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