Generating Database Configuration File |
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 |
Messages In This Thread |
Generating Database Configuration File - by egodoymachado - 03-31-2016, 12:44 PM
RE: Generating Database Configuration File - by josepostiga - 03-31-2016, 01:20 PM
RE: Generating Database Configuration File - by egodoymachado - 04-01-2016, 06:37 AM
RE: Generating Database Configuration File - by josepostiga - 04-02-2016, 07:03 AM
|