Controllers under subfolder - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Controllers under subfolder (/showthread.php?tid=65608) |
RE: Controllers under subfolder - InsiteFX - 09-26-2019 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; RE: Controllers under subfolder - andybiancoblu - 09-26-2019 (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! RE: Controllers under subfolder - InsiteFX - 09-26-2019 PHP 7.3.10 was released today. |