![]() |
Hi, I have a weird problem. I have set my namespace and put my Routes.php in acme/Home/Config directory, sadly the autoloading can not find Routes.php file. Any idea to fix this? Thank you
![]() PHP ver 7.3 CodeIgniter 4.1.3 But the MythAuth Routes.php can autoloading by CodeIgniter. Any suggestion?
Show your autoload file.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
PHP Code: // My Autoload For now, it's okay for me because I use MVC instead. But I'll try to check later with a fresh CodeIgniter4
Your autoload is wrong sould be like below.
PHP Code: 'Acme\Home' => ROOTPATH . 'acme/home', What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |