Interview QuestionsCategory: CodeIgniterHow we can load CodeIgniter helpers in every page?
bestonetechnologies Staff asked 1 year ago

How we can load CodeIgniter helpers in every page?

1 Answers
bestonetechnologies Staff answered 1 year ago

If you want to load Codeigniter helpers in every page, just add those helpers autoload:
In /application/config/autoload.php
Find and change : $autoload[‘helper’] = array();
to
$autoload[‘helper’] = array(‘html’,’url’);

Your Answer

14 + 12 =