CodeIgniter Forums
CodeIgniter 4 only load from public folder - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: CodeIgniter 4 only load from public folder (/thread-74472.html)



CodeIgniter 4 only load from public folder - acy29 - 09-28-2019

hello, i installed CodeIgniter 4 with composer, and rename de folder to test-codeigniter4, i use laragon with php 7.2 and apache but i can try to access to 
http://localhost/test-codeigniter4/
i only see the structure's folder of the project, the project work when i access to:
http://localhost/test-codeigniter4/public/

What am I doing wrong so it doesn't work from the URL base


RE: CodeIgniter 4 only load from public folder - ciadmin - 09-28-2019

CodeIgniter 4 is *meant* to be run from the public folder.
See https://github.com/codeigniter4/CodeIgniter4#important-change-with-indexphp


RE: CodeIgniter 4 only load from public folder - acy29 - 09-28-2019

(09-28-2019, 08:47 AM)ciadmin Wrote: CodeIgniter 4 is *meant* to be run from the public folder.
See https://github.com/codeigniter4/CodeIgniter4#important-change-with-indexphp

Nice!
thanks for your time!