How do I define a global variable after the Codeigniter instantiation? |
You would need to either place it in the BaseController or create a library for it using static variable.
Or use Events, see below: CodeIgniter 4 User Guide - Events What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Messages In This Thread |
How do I define a global variable after the Codeigniter instantiation? - by castle - 08-31-2021, 02:04 AM
RE: How do I define a global variable after the Codeigniter instantiation? - by InsiteFX - 08-31-2021, 04:04 AM
RE: How do I define a global variable after the Codeigniter instantiation? - by castle - 08-31-2021, 04:10 AM
RE: How do I define a global variable after the Codeigniter instantiation? - by InsiteFX - 09-01-2021, 12:32 AM
|