Load custom config file? |
You can load it in the base controller. It would be available for all your controllers. You can also get a shared instance with the config() function like described on this page of the user guide: https://codeigniter4.github.io/userguide...nfig-files
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
Load custom config file? - by vinyl - 04-11-2020, 05:51 AM
RE: Load custom config file? - by includebeer - 04-12-2020, 07:23 AM
RE: Load custom config file? - by InsiteFX - 04-12-2020, 02:34 PM
|