CI 4 4.0.0-beta.3 routing error |
I see documentation
If you are building a large application you might want to hierarchically organize or structure your controllers into sub-directories Directory structure - see attachments UserController.php Code: <?php namespace App\Controllers; request: http://my_domain/admin/usercontroller/login result: 404 - File Not Found Routes.php - $routes->setAutoRoute(true); This don't work, please help fix it;
If "UserController" is in app/Controllers/admin, then its namespace should match. i.e. namespace App\Controllers\admin;
|
Welcome Guest, Not a member yet? Register Sign In |