03-16-2020, 11:50 AM
I'm afraid that's not a recommended practice. You should put the content of /public inside your /public_html (e.g.) and everything else one level up.
https://codeigniter4.github.io/userguide...tml#public
https://codeigniter4.github.io/userguide...tml#public