Welcome Guest, Not a member yet? Register   Sign In
One .env File for Development and Production
#7

(This post was last modified: 04-17-2021, 10:31 AM by John_Betong.)

I set a bool “LOCALHOST” constant which may be useful:
Code:
define("LOCALHOST", "localhost"===$_SERVER["SERVER_ NAME"]):
Reply


Messages In This Thread
RE: One .env File for Development and Production - by John_Betong - 04-17-2021, 06:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB