public function log_out() { Login_Model::log_out('admin'); Session::destroy(); $this->index(); }
public function log_out() { Login_Model::status_online($this->sess_admin['id'], 'offline'); Login_Model::log_out('admin'); Session::destroy(); //url::redirect('home'); $this->index(); }
private function log_out() { Login_Model::log_out(); $this->session->destroy(); url::redirect('home'); die; }