Welcome Guest, Not a member yet? Register   Sign In
Pass data from pre-system hook to controller(s)
#1

[eluser]fdgsuhofdshjdfgh[/eluser]
My pre-system hook performs a database look up and decides what to do based on that, I want the resulting database information to be stored and accessible by my controllers. I have tried $this->databaseresult = 'whatever'; but as it's a pre-system hook this won't work.

How can I do this? The alternative is to do my database call *again* from my controller(s) which is very inefficient.
#2

[eluser]fdgsuhofdshjdfgh[/eluser]
Any ideas?
#3

[eluser]skunkbad[/eluser]
DEFINE a constant




Theme © iAndrew 2016 - Forum software by © MyBB