[eluser]hugle[/eluser]
Hello Everyone.
I want to call :
Code:
$this->load->helper('date');
$datestring = "%l, %j %F, %G:%i";
$this->data['nav_time'] = mdate($datestring, time());
in every of of controller, so I have $this->data['nav_time'] value in every controller.
I understood that I need to use a hook in pre_controller probably?
But can't understand really how is it done ...
I have looked into howto - but no good result
Anyone can point me on this?
Thank you!