Current Path : /var/www/alh/admin/controller/common/ |
Current File : /var/www/alh/admin/controller/common/logout.php |
<?php class ControllerCommonLogout extends Controller { public function index() { $this->user->logout(); unset($this->session->data['user_token']); $this->response->redirect($this->url->link('common/login', '', true)); } }