Welcome Guest, Not a member yet? Register   Sign In
Environment dependent configuration
#3

[eluser]thomasz[/eluser]
[quote author="haraldo" date="1228871238"]Try the syntax
Code:
config_item('environment')
.

Thats what i use in my config files to access other config variables.[/quote]

Oh dear god. I feel dumb. Makes total sense, just had my mind in the wrong place. That worked, thanks.


Messages In This Thread
Environment dependent configuration - by El Forum - 12-09-2008, 12:43 PM
Environment dependent configuration - by El Forum - 12-09-2008, 01:07 PM
Environment dependent configuration - by El Forum - 12-09-2008, 01:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB