Welcome Guest, Not a member yet? Register   Sign In
auto loading custom configuration files which override config.php
#2

[eluser]Pascal Kriete[/eluser]
Config.php is loaded very early on in the execution cycle - earlier than any custom autoloading takes place. Since it's just an array it'll be overriden if you redefine identical keys later. So yes, it's normal behavior. If you come back to this application after a year it may not feel like such a good idea though. Unless you stick to this pattern, of course Smile .

Creating your own database config definitely feels redundant.


Messages In This Thread
auto loading custom configuration files which override config.php - by El Forum - 10-12-2008, 03:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB