BBnepal-Accounts/account/application/controllers/Logout.php

10 lines
190 B
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Logout extends CI_Controller {
public function index()
{
$this->session->sess_destroy();
redirect("");
}
}