zzwy2/app/controller/manager/Logout.php

14 lines
233 B
PHP
Executable File

<?php
namespace app\controller\manager;
use app\controller\BaseController;
class Logout extends BaseController
{
public function index()
{
session(null);
return redirect(url('manager.login/index'));
}
}