Welcome Guest, Not a member yet? Register   Sign In
hooks
#1

[eluser]aeternuslibertas[/eluser]
Hi all, I want to add the visitors' ip address to my database preferably before any controller gets called, its the kind of code that seems like it should go in the index.php front controller. I think 'pre_system' hook sounds like the best approach. However I have a question, when using hooks can I call a controller from within my application, or does it have a to be a 'from-scratch' class.php file ?




Theme © iAndrew 2016 - Forum software by © MyBB