Files
sentcms/app/middleware.php
tensent 5c320206fb auth
2020-02-16 10:49:43 +08:00

13 lines
330 B
PHP
Executable File

<?php
// 全局中间件定义文件
return [
// 全局请求缓存
// \think\middleware\CheckRequestCache::class,
// 多语言加载
// \think\middleware\LoadLangPack::class,
// Session初始化
\think\middleware\SessionInit::class,
// 页面Trace调试
// \think\middleware\TraceDebug::class,
];