Hi
I need to add a couple of constants for use throughout my current build - is it generally better practice to add these to the constants.php config file? or elsewhere?
Thanks.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 28, 2011 5:34am
Subscribe [2]#1 / Aug 28, 2011 5:34am
Hi
I need to add a couple of constants for use throughout my current build - is it generally better practice to add these to the constants.php config file? or elsewhere?
Thanks.
#2 / Aug 29, 2011 3:32am
Hi Lee,
Are you developing an add-on?
Is this just for general template use?
If for use in your templates then I would recommend a Global Variable_. Would that be sufficient? If not can you give us some context to your need for a new Constant?