I have a question as I need to have a global static variable and I have question is any possibility to add it to the application.ini file, how to do it?
Or I have to:
I have a series of constants with the following naming convention in application.ini:
system.image_path = "/assets/images"
system.custom_path = "/assets/custom"
system.cdn_URL = "http://cdnurl.com"
And I just reference them in my code as if they were PHP constants:
SYSTEM_IMAGE_PATH
SYSTEM_CUSTOM_PATH
SYSTEM_CDN_URL