Custom "app.php"

Permalink
I would like to add a Telephone Number and store it as TELEPHONE, (so I don't need to refer to Config::get('TELEPHONE') I would just like to use TELEPHONE)

I have tried moving the app.php to root/config/ but this does not seem to pick up the new file.

I want to be able to add

if (!defined('TELEPHONE')) {
Config::getOrDefine('TELEPHONE', '01234 567 890');
}

Currently I have added it the concrete app file but I know this would be overridden with an update.

Help please

Thanks Sean

TheRealSean
 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.