I'm new to the MVC concept, and somewhat new to PHP.
Question 1
Before every controller is loaded, I’d like to run a function which checks to see if a database-table exists. Is the proper way to do that with hooks?
Question 2
Before every controller is loaded, I’d like to set a few variables which are determined by a call to the db. How/where is that supposed to be done in a MVC (Kohana) setup?
Edit: Regarding Kohana v2.3.4