.env Questions |
A long time ago on this site someone suggested testing to see if the site was being run on LOCALHOST and if so to define a logical constant. I adopted this tactic and now all files have both local and remote settings such as database login details of whether to display advertisements, analytics, etc. Gone are the days when a specific localhost file overwrote online pertinent information I am delighted to say
Is it possible to have a single env file which caters for both online and online settings? |
Messages In This Thread |
.env Questions - by Poetawd - 10-05-2019, 09:04 AM
RE: .env Questions - by dave friend - 10-05-2019, 09:37 AM
RE: .env Questions - by Poetawd - 10-05-2019, 09:55 AM
RE: .env Questions - by dave friend - 10-05-2019, 02:01 PM
RE: .env Questions - by MGatner - 10-05-2019, 04:55 PM
RE: .env Questions - by Poetawd - 10-05-2019, 05:00 PM
RE: .env Questions - by kilishan - 10-05-2019, 08:32 PM
RE: .env Questions - by John_Betong - 10-06-2019, 06:34 AM
RE: .env Questions - by InsiteFX - 10-06-2019, 08:19 AM
RE: .env Questions - by dave friend - 10-06-2019, 09:55 AM
|