How to configure the baseurl in CodeIgniter

in CodeIgniter / 1 Comment

This post explains about how to configure the baseurl in CodeIgniter in your localhost.

How to configure the baseurl in CodeIgniter by Anil Kumar Panigrahi

How to configure the baseurl in CodeIgniter by Anil Kumar Panigrahi

See the code:

In the application\config\ in that folder we have list of files., in that we have to modify the file is config.php

$config['base_url'] = "http://localhost/CodeIgniter/";


and helpers :

appication\config\autoload.php file we have to modify.

$autoload['libraries'] = array();

to

$autoload['libraries'] = array('database', 'session');

$autoload['helper'] = array('form', 'url');


Hope that it will be useful …

Discussion 1 Comment

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>