This repository has been archived on 2020-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
|
<?php defined('SYSPATH') or die('No direct script access.');
|
|
|
|
class Controller_Logout extends Controller {
|
|
public function action_view() {
|
|
if (Auth::instance()->logout()) return $this->redirect('login');
|
|
else $this->template->error = "Ошибка выхода пользователя.";
|
|
}
|
|
}
|