CodeIgniter Forums
setup & use module wise constants file - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: setup & use module wise constants file (/showthread.php?tid=79557)



setup & use module wise constants file - [email protected] - 07-02-2021

How to setup & use modules wise constants file in hmvc codeigniter


RE: setup & use module wise constants file - InsiteFX - 07-04-2021

Add your constants to app/Config/Constants.php

Or

Create a helper with all your constants at the top and load the helper.

Also look at the app/Common.php