In routes.php i've set the default controller as so:
$route['default_controller'] = 'index_controller';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
index_controller is in the controllers folder titled: index_controller.php
The content of index_controller is:
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Index_controller extends CI_Controller {
function __construct()
{
parent::__construct();
}
function index()
{
$this->load->helper('url');
$this->load->view('login_view');
}
}
?>
The error I get is:
404 Page Not Found The page you requested was not found.
$route['default_controller'] = 'index_controller';to Just$route['default_controller'] = 'Index'(Take note the CaptialI)Index_controller.php).