Welcome Guest, Not a member yet? Register   Sign In
Best way to find the system and application folders above the web root in CI3?
#7

(09-29-2018, 10:36 AM)ItsSeaJay Wrote: OK, so for the project I'm working on right now, I've decided to make it find the system and application folders like this:
PHP Code:
$system_path __DIR__.DIRECTORY_SEPARATOR.\'../system';
$application_folder __DIR__.DIRECTORY_SEPARATOR.\'../application'

and it seems to work for me. Is that what you meant, ciadmin?

Yup. Better separation of concerns, even if a .htaccess file could prevent access to them Smile
Reply


Messages In This Thread
RE: Best way to find the system and application folders above the web root in CI3? - by ciadmin - 09-29-2018, 11:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB