Tutorialsplane

Codeigniter Default Controller


Codeigniter default Controller : Codeigniter default controller is defined in routs.php which means your controller will be accessed when someone access your website.


Codeigniter default controller Example

Go to config.php/routs.php and add default controller there.


$route['default_controller'] = 'Welcome';

For example if i access :


http://localhost

It will automatically call

http://localhost/Welcome

Models

Connect Database

Helpers

Libraries

Helper Reference

Library Reference

Database Reference