Welcome Guest, Not a member yet? Register   Sign In
I want to define variable in CodeIgnitor so that it can be accessed in application
#3

[eluser]Musaddiq Khan[/eluser]
I have tried to put this array of constants in config/constants.php but it generates an error message on accessing array.
The second option is much better.
Is it possible to use this kind of array of constants without including any file same as we use constants. e.g here we need to load config item


Messages In This Thread
I want to define variable in CodeIgnitor so that it can be accessed in application - by El Forum - 04-25-2012, 12:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB