Welcome Guest, Not a member yet? Register   Sign In
On Request Start
#2

[eluser]davidMC1982[/eluser]
You have two options:

1) Extend the Controller class and put your code in the constructor. All your controllers should then extend this new class and call the super constructor in its own constructor.

2) Probably better would be to use hooks.

http://ellislab.com/codeigniter/user-gui...hooks.html


Messages In This Thread
On Request Start - by El Forum - 03-15-2013, 04:06 PM
On Request Start - by El Forum - 03-15-2013, 05:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB