Welcome Guest, Not a member yet? Register   Sign In
Best place to put variables you need throughout the application
#1

[eluser]lennierb5[/eluser]
Let's say you have information like $sitename = "Name of your site" and other information you might need on every page, where is the best place to put this information? I tried adding it to the config file which would make sense but could not access it in the controller.

Thanks in advance.


Messages In This Thread
Best place to put variables you need throughout the application - by El Forum - 06-19-2009, 10:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB