Hooks en codeigniter 2.x |
[eluser]xoiv[/eluser]
Hi, I am studying the hooks following this tutorial: http://www.noquieroprogramar.com/usando-...deigniter/ hooks file I have configured for: Code: $hook['pre_controller'] = array( The problem is that for some reason unknown to me, shows me the following error messages: if I write in my_class: Code: function loggeado(){ Fatal error: Call to a member function library() on a non-object in /var/www/ci/application/hooks... if I do well Code: function loggeado(){ I do not wrong, the library is loaded by default session in autoload.php but even so I can not interact with the function. sorry for my english.. I am doing wrong?
[eluser]mejlo[/eluser]
Try to change Code: $hook['pre_controller'] = array( Code: $hook['post_controller_constructor'] = array(
|
Welcome Guest, Not a member yet? Register Sign In |