Controllers under subfolder |
It should work just make sure that you namespace is the same as the folder name and the first character
is upper case. PHP Code: <?php namesapce App\Controllers\SomeFolder; What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(09-26-2019, 12:40 PM)InsiteFX Wrote: It should work just make sure that you namespace is the same as the folder name and the first characterHi again, I can say now I solved my problem!!! First I tried to change to uppercase namespaced folder but didn't work. Don't know why. So, since I'm in love with Docker, I tried a different approach. I rebuilt php docker container with Php 7.2.22 and apache 2. Works Like a charm! Fantastic, I'm so enthusiast I can start developing with this fanatstic framework. Unfortunately I cannot say if the problem was binded to the docker container build or some faulty settings. Anyway I took notes about the building of a docker container using php and shared folder to develop with maximum flexibility. If anyone is interested I can paste some code to start a dev container. Thanks a lot to everyone, see you all in the next thread!
[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.
PHP 7.3.10 was released today.
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 |