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
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