Sub Directory on Controller |
(09-24-2019, 08:34 AM)MGatner Wrote: @andybiancoblu Are you getting an error message? E.g. 404 Not Found. Hi @MGatner, yeah, I'm getting 404 error. The only way to make it work was to add a route through $routes->add... Mapping subdir, controller and method, but I don't think that's the way of doing stuffs in CI4. I'm running CI4 rc1 on a docker container, filesystem permissions are ok. app/Config/Routes.php was modified only to set a default controller (which didn't work). To get it work i modified $routes->get('/', 'Class::method') I'm trying right now to change to uppercase namespace. I did it like that cause I saw the guy who started the post that didn't use uppercase for namespacing the subdir. Thanks a lot for the reply, I'm going to update you soon. Andy
[Image: https://vulndetect.org/assets/uploads/fi...docker.ico]
Andy Biancoblu Quote:Once you have eliminated the impossible, whatever remains, however improbable, must be the truth. |
Welcome Guest, Not a member yet? Register Sign In |