Replies: 1 comment
-
So I solved this by adding generating the composer autoload files but I'm still puzzle on how this worked in localhost |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I'm working on an app which seems to be working fine in localhost but when I deploy it to a hosting (in a subfolder) the routes start to fail with:
App\Controllers\AuthController not found. Cross-check the namespace if you're sure the file exists
I'm registering the namespace:
app()->setNamespace('\App\Controllers');
This is the app layout:
Not sure what I'm missing, regards
Beta Was this translation helpful? Give feedback.
All reactions