Welcome Guest, Not a member yet? Register   Sign In
Generating Database Configuration File
#4

The link I gave you is not to identify the environment of the application, but to load the configuration without being messing around with the config files directly. Also, you could create a system hook to check for that .env file existence and/or it's structure to know if you should redirect the request to a install controller.

That controller is the one who handles that installation process. You could create a method for each necessary step (app config, db config, etc).
Best regards,
José Postiga
Senior Backend Developer
Reply


Messages In This Thread
RE: Generating Database Configuration File - by josepostiga - 04-02-2016, 07:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB