Welcome Guest, Not a member yet? Register   Sign In
dynamic $config array Concept
#10

[eluser]Jelmer[/eluser]
@steelaz that's an even better solution when you're loading config values from the database, more structurally sound the suggestion I posted as it works from the library where it belongs and includes updating & adding.

Though I personally prefer the approach of exporting the config values to an autoloaded config file, when you don't have a problem with the extra DB query this would indeed be the way to go.


Messages In This Thread
dynamic $config array Concept - by El Forum - 05-08-2010, 12:59 PM
dynamic $config array Concept - by El Forum - 05-08-2010, 01:48 PM
dynamic $config array Concept - by El Forum - 05-08-2010, 04:57 PM
dynamic $config array Concept - by El Forum - 05-08-2010, 05:09 PM
dynamic $config array Concept - by El Forum - 05-08-2010, 05:14 PM
dynamic $config array Concept - by El Forum - 05-08-2010, 05:29 PM
dynamic $config array Concept - by El Forum - 05-09-2010, 08:31 PM
dynamic $config array Concept - by El Forum - 05-10-2010, 02:29 AM
dynamic $config array Concept - by El Forum - 05-10-2010, 02:35 AM
dynamic $config array Concept - by El Forum - 05-10-2010, 09:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB