You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
329 B

9 years ago
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Logout Class
*/
class Logout extends CI_Controller
{
public function __construct()
{
parent::__construct();
}
public function index()
{
$this->load->library('session');
$this->session->sess_destroy();
redirect(base_url('/'));
}
}