18 lines
468 B
PHP
18 lines
468 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (c) 2021 勾股工作室
|
|
* @license https://opensource.org/licenses/GPL-2.0
|
|
* @link https://www.gougucms.com
|
|
*/
|
|
// 全局中间件定义文件
|
|
return [
|
|
// 全局请求缓存
|
|
// \think\middleware\CheckRequestCache::class,
|
|
// 多语言加载
|
|
// \think\middleware\LoadLangPack::class,
|
|
//验证勾股cms是否完成安装
|
|
\app\middleware\Install::class,
|
|
// Session初始化
|
|
'think\middleware\SessionInit',
|
|
];
|