Basic configuration options

Configuring CodeIgniter is a lot easier than many other web frameworks available and does not require you to resort to using the command line. All you need to quickly get up and running is access to several files in the application/config/ folder. These are a few of the suggested settings which will get your CodeIgniter installation ready without too much fuss.

How to do it...

Open the file in your localhost of development environment: /path/to/codeigniter/application/config/config.php and find the following lines:


The value should be the full web address (the address that is written in your browser address bar) to the CodeIgniter installation. So if you are working in your localhost, the value should ...

Get CodeIgniter 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.