![]() |
Sergey Kornilov admin 12/15/2015 |
While I don't know all the details of your projects it is in fact sounds like a real pain. Every time you need to propagate changes through several projects you can easily forget something. |
S
|
Stucco 12/15/2015 |
On the build screen, I put a series of other variables in the build properties, using global, which I later reference in events, exports, etc. This allows config per install on the client side, without my involvement. By doing this in connections\ConnectionManager.php, the variables automatically get into every script without editing them all, like some other external include would require. |
N
|
noozi author 12/16/2015 |
Thanks for the responses Sergey and Stucco! |
![]() |
Sergey Kornilov admin 12/16/2015 |
The best approach is to have multiple databases and single project. Connection settings like database name can be stored in external file like config.php. <?php
include("config.php");
|