Location: PHPKode > projects > BambooInvoice > bamboo_system_files/application/controllers/logout.php
<?php

class Logout extends MY_Controller {

	function Logout()
	{
		parent::MY_Controller();
	}

	// --------------------------------------------------------------------

	function index()
	{
		$data['page_title'] = $this->lang->line('login_logout');
		$this->load->view('logout/index', $data);
	}

	// --------------------------------------------------------------------

	function logout_routine()
	{
		$this->session->sess_destroy();
		redirect('logout');
	}

	// --------------------------------------------------------------------

	function confirm()
	{
		$data['page_title'] = $this->lang->line('login_logout');
		$this->load->view('logout/logout_confirm', $data);
	}

}
?>
Return current item: BambooInvoice