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

(09-29-2018, 11:22 AM)ciadmin Wrote:
(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

Great! I'm glad that something about this topic exists on the internet now. Thank you.
Is there anywhere I could post about the project I used this in?
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB