I am creating a new helper ,so that I can reuse it in views, etc .. can I use base_url()开发者_高级运维 in the helper ?
Thanks
Yes you can use base_url() in helper. Make sure url_helper is loaded before using base_url().
I am creating a new helper ,so that I can reuse it in views, etc .. can I use base_url()开发者_高级运维 in the helper ?
Thanks
Yes you can use base_url() in helper. Make sure url_helper is loaded before using base_url().
精彩评论