php - codeigniter helper function did not loaded -


i try "rebuild" again web project in codeigniter, totally forgot how setting it.. in last 3 years, website contains no error , works great. when try reopen again, contains errors :

fatal error: call undefined function admin_info() in c:\xampp\htdocs\misnews\application\controllers\home.php on line 27

ps : admin_info() functions inside helper, , loaded in autoload , added $this->load->helper('basic_helper); in home controller

can me? thanks

if helper named basic_helper.php

application / helpers / basic_helper.php

then should need $this->load->helper('basic');

you can autoload helper in

application / config / autoload.php

when need use helper $this->basic->some_function();


Comments