Skip to content

Commit

Permalink
添加中间件配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jun 6, 2018
1 parent 829ed7b commit 490d97b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config/middleware.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <[email protected]>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 中间件配置
// +----------------------------------------------------------------------
return [
// 默认中间件命名空间
'default_namespace' => 'app\\http\\middleware\\',
];

0 comments on commit 490d97b

Please sign in to comment.