• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.