php - Routing controllers in sub folders - Codeigniter 3 -
i have admin folder in controllers folder. structure below.
controllers
----admin-----------admin.php
-----------dashboard.php
how set default controller?
i getting 404 page not found
http://localhost:8080/project/admin/ $routes['admin'] = 'admin/index';
$route['folder'] = "folder/home"; $route['admin'] = 'admin/admin'; $route['admin/dashboard'] = 'admin/dashboard'; $route['admin/logout'] = 'admin/profile'; $route['admin/home'] = 'admin/home';
Comments
Post a Comment