restaurant/application/controllers/Auth.php
/*
		clears the session and redirects to login page
	*/
clears the session and redirects to login page
clears the session and redirects to login page
public function logout()
	{
		$this->session->sess_destroy();
		redirect('', 'refresh');
	}
public function logout ( ) { $ this -> session -> sess_destroy ( ) ; redirect ( '' , 'refresh' ) ; }
clears the session and redirects to login page
clears the session and redirects to login page