Welcome Guest, Not a member yet? Register   Sign In
Location and Name of CI v4 .env File

(11-12-2020, 03:54 AM)Mr Lister Wrote: Thanks for your replies.  I am on Windows.

@captain-sensible - I like the set-up for your localhost dev.  Moving that same directory structure, (e.g., what is inside the 'basic' directory), to a (production) server keeps the application and system directories out of the public folder, and each, as you say, has its own .env file, cool!

Time to restructure when I can  Smile
with subdomain i use similar trick to point listening of requests to public and so there is no change from local setup. Where you can't have subdomain you put everything inside public to inside hosting root ,probably names public_html everything else you pack into one directory and then change
$pathsPath = realpath(FCPATH . '../app/Config/Paths.php');

in index

Messages In This Thread
RE: Location and Name of CI v4 .env File - by captain-sensible - 11-12-2020, 06:19 AM

Theme © iAndrew 2016 - Forum software by © MyBB