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.

22 lines
294 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->session->sess_destroy();
redirect(base_url('/'));
}
}