How to call a function in my_helper from routes in Codeigniter -


i have function named enable_disable(param1,param2) in my_helper.php.

how can call enable_disable(param1,param2) routes.php in codeigniter?

please share great ideas if have key.

write code (enable_disable($p1, $p2) function) in pre_system hook. being loaded before router. if want quick , dirty way, can put apppath.'config/config.php' file @ end.


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -