Welcome Guest, Not a member yet? Register   Sign In
establishing a local configuration for each developer, dev server, production...
#11

(01-12-2015, 05:19 AM)Avenirer Wrote: Why use a hook? You can define the environment inside the index.php

Because I am collaborating on this project with other developers and we don't want to make local changes to a file only to have our local changes overwritten by some other developer's local changes -- or to commit local changes to a file required for the production server.

Local configuration settings should be
a) in a file that is not required for the production server
b) in a file that is not checked into a git repository (i.e., it's listed in the .gitignore file)
Reply


Messages In This Thread
RE: establishing a local configuration for each developer, dev server, production... - by sneakyimp - 01-12-2015, 10:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB