Welcome Guest, Not a member yet? Register   Sign In
where do you put your path definitions - define or an array?
#1

[eluser]Brian Dickson[/eluser]
In procedural PHP which I have mainly used up till recently, I like to define various paths to common directories, so if I have to move or rename a folder, I only have to reflect that change in one place, so the whole app doesn't brake. I used to define these paths in an array which was located in a config file.

What do people use in CI to define and store their config paths? (config class/define/data array from db?)


Messages In This Thread
where do you put your path definitions - define or an array? - by El Forum - 06-24-2010, 02:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB