You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can use if you have admin directory under controller and every controller name in admin directory start with _ like _page then URL will be admin/page
admin_$1 i am using because in controller directory every admin controller start with admin_controllername
HI you can make your admin routers more flexible
$route['admin/([a-zA-Z_-]+)/(:any)'] = 'admin_$1/$2';
$route['admin/login'] = 'admin/login';
$route['admin/logout'] = 'admin/logout';
$route['admin/([a-zA-Z_-]+)'] = 'admin_$1/index';
$route['admin'] = 'admin';
The text was updated successfully, but these errors were encountered: