I have a file called Message.php
in module/Cms/language
directory. This file contain constants like below
<?php
define("APPLICATION_TITLE","Test Application");
?>
When module is running I would like to use such constant anywhere in the module scope. I understand I can load this by modifying config_glob_paths
in application.config.php
But I am looking for a way where this file will be loaded only for the module specified. Can I have some configuration in module.config.php
for this. Appreciate your guidance.