File "logout.php"
Full path: /home/cakedeco/retaildirectonline.co.uk/admin/controller/common/logout.php
File
size: 241 B (241 B bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?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));
}
}