![]() |
10-01-2023, 11:15 PM
(This post was last modified: 10-01-2023, 11:36 PM by ozornick. Edit Reason: Format font )
In codeigniter 4.3.7 I created new controller file
under subdirectory app/Controllers/admin/Category.php with defined : PHP Code: <?php But urls Code: http://localhost/CIProducts/admin/categories/index not opens my controller, as I expected and returns 404 error while url Code: http://localhost/CIProducts returns default homepage I added in file Routes.php line with "admin/" url: PHP Code: <?php How to reference controller in file app/Controllers/admin/Category.php with "admin/" in url? Thanks in advance! |
Messages In This Thread |
Why controller under admin subdirectory not found? - by petrogromovo - 10-01-2023, 11:15 PM
RE: Why controller under admin subdirectory not found? - by ozornick - 10-01-2023, 11:39 PM
RE: Why controller under admin subdirectory not found? - by kenjis - 10-02-2023, 01:05 AM
|