CodeIgniter Forums
Modules not loading config files - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: Modules not loading config files (/showthread.php?tid=78863)

Pages: 1 2


RE: Modules not loading config files - Cloud_Geek - 03-31-2021

(03-20-2021, 05:55 PM)kenjis Wrote: > Why is it so hard to add constants in a specific module?

Probably because there is no way to autoload constants in PHP.

I personally recommend not to use global constants at all.

I am amazed why you discouraged use of php global constraints? I have been using them myself. I found no issues yet. I would love to hear back.