Files
2021-10-09 21:59:14 -04:00

18 lines
387 B
PHP

<?php
class Logout extends CI_Controller {
public function index() {
// delete session
$_SESSION['username'] = ""; //$this->input->post('username');
$_SESSION['name'] = ""; //$this->input->post('username');
$_SESSION['firstname'] = ""; //= $ret->firstname;
$_SESSION['lastname'] = ""; //= $ret->lastname;
redirect(home);
}
}