Welcome Guest, Not a member yet? Register   Sign In
What is the best way to load global variables?
#1

[eluser]behnampmdg3[/eluser]
Hello;

What is the best way to load constants? For example
Code:
define("MAXSIZE", 100);


Helper? Contoller? How?

Thanky thanky




#2

[eluser]PhilTem[/eluser]
./application/config/constants.php
#3

[eluser]behnampmdg3[/eluser]
[quote author="PhilTem" date="1357682897"]./application/config/constants.php[/quote]Thank you




Theme © iAndrew 2016 - Forum software by © MyBB