logout.php 227 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 <?php class ControllerCommonLogout extends Controller { public function index() { $this->user->logout(); unset($this->session->data['token']); $this->response->redirect($this->url->link('common/login', '', true)); } }