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

How we can load CodeIgniter helpers in every page?

1 Answers
bestonetechnologies Staff answered 11 months 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’);