Welcome Guest, Not a member yet? Register   Sign In
How do I define a global variable after the Codeigniter instantiation?
#2

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 )
Reply


Messages In This Thread
RE: How do I define a global variable after the Codeigniter instantiation? - by InsiteFX - 08-31-2021, 04:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB