Welcome Guest, Not a member yet? Register   Sign In
constant variables accessable everywhere
#1

[eluser]pdxbenjamin[/eluser]
Is there a place I can put a "config" file that holds a variables like time and client ID, so that every controller and function in the class has access to?

The project I'm working on is time sensitive and a global time must be the same across the site, and to make my life easier I wanted to create a global config area and not set the time in each function in every controller.


Thanks,


Messages In This Thread
constant variables accessable everywhere - by El Forum - 01-22-2010, 08:05 PM
constant variables accessable everywhere - by El Forum - 01-22-2010, 08:39 PM
constant variables accessable everywhere - by El Forum - 01-22-2010, 08:40 PM
constant variables accessable everywhere - by El Forum - 01-22-2010, 08:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB