CodeIgniter Forums

Full Version: What is the best way to load global variables?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]behnampmdg3[/eluser]
Hello;

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


Helper? Contoller? How?

Thanky thanky




El Forum

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

El Forum

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