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

(08-31-2021, 04:04 AM)InsiteFX Wrote: 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

Thanks, but I'm using CI 3
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB