@ -58,7 +58,7 @@ $autoload['packages'] = array();
|
| $autoload['libraries'] = array('user_agent' => 'ua');
*/
$autoload['libraries'] = array('form_validation', 'database');
$autoload['libraries'] = array('form_validation', 'database', 'session');
/*
| -------------------------------------------------------------------
@ -10,7 +10,6 @@ class Beoordelen extends CI_Controller
public function __construct()
{
parent::__construct();
$this->load->library('session');
if(! $this->session->userdata('validated')){
redirect(base_url('/login'));
}
@ -10,7 +10,6 @@ class Dashboard extends CI_Controller
@ -10,7 +10,6 @@ class Login extends CI_Controller
public function index()
@ -14,7 +14,6 @@ class Logout extends CI_Controller
$this->session->sess_destroy();
redirect(base_url('/'));