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

Hi,

This post recommends putting global variables in
Code:
/application/config/constants.php
however, that too early. I need the global variable to be assigned after the controller instantiation. Is there a way of doing that?

Cheers
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB