Posts

Showing posts from October, 2017

Fatal error: Call to undefined function base_url() in CodeIgniter

You need to load the url helper within controller constructor or  function. $this -> load -> helper ( 'url' ); OR Add below code under application/config/autoload.php that looks like $autoload [ 'helper' ] = array ( 'url' );