Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 on shared hosting (NOT CPANEL)
#2

(This post was last modified: 08-30-2020, 12:37 PM by jreklund.)

You can place the content of /public alongside app, system, writable... and modify your index.php into:

PHP Code:
$pathsPath FCPATH '/app/Config/Paths.php'

You now got the same security as your CI3, and need to protect it in other ways, with e.g. htaccess, so people don't have access to the application part of the code.
Reply


Messages In This Thread
RE: Codeigniter 4 on shared hosting (NOT CPANEL) - by jreklund - 08-30-2020, 12:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB