mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修正 命名空间大小写
修正 扩展控制器目录位置
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Behavior;
|
||||
use Think\Config;
|
||||
namespace think\behavior;
|
||||
use think\config;
|
||||
|
||||
/**
|
||||
* 系统行为扩展:模板内容输出替换
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Behavior;
|
||||
namespace think\behavior;
|
||||
|
||||
/**
|
||||
* 系统行为扩展:定位模板文件
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace think\behavior;
|
||||
|
||||
/**
|
||||
* 系统行为扩展:静态缓存读取
|
||||
* @category Think
|
||||
@@ -16,7 +18,7 @@
|
||||
* @subpackage Behavior
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
*/
|
||||
class ReadHtmlCacheBehavior {
|
||||
class ReadHtmlCache {
|
||||
protected $options = [
|
||||
'HTML_CACHE_ON' => false,
|
||||
'HTML_CACHE_TIME' => 60,
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace Think\Behavior;
|
||||
use Think\Config;
|
||||
use Think\Log;
|
||||
use Think\Debug;
|
||||
namespace think\behavior;
|
||||
use think\Config;
|
||||
use think\Log;
|
||||
use think\Debug;
|
||||
|
||||
/**
|
||||
* 系统行为扩展:页面Trace显示输出
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
defined('THINK_PATH') or exit();
|
||||
namespace think\behavior;
|
||||
/**
|
||||
* 系统行为扩展:表单令牌生成
|
||||
* @category Think
|
||||
@@ -17,7 +17,7 @@ defined('THINK_PATH') or exit();
|
||||
* @subpackage Behavior
|
||||
* @author liu21st <liu21st@gmail.com>
|
||||
*/
|
||||
class TokenBuildBehavior extends Behavior {
|
||||
class TokenBuild extends Behavior {
|
||||
// 行为参数定义
|
||||
protected $options = [
|
||||
'TOKEN_ON' => false, // 开启令牌验证
|
||||
|
||||
Reference in New Issue
Block a user