内核更新
This commit is contained in:
@@ -120,7 +120,7 @@ class Request
|
||||
protected $isCheckCache;
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* 构造函数
|
||||
* @access protected
|
||||
* @param array $options 参数
|
||||
*/
|
||||
@@ -1523,13 +1523,13 @@ class Request
|
||||
}
|
||||
}
|
||||
// 自动缓存功能
|
||||
$key = '__URL__';
|
||||
$key = md5($this->host()) . '__URL__';
|
||||
} elseif (strpos($key, '|')) {
|
||||
list($key, $fun) = explode('|', $key);
|
||||
}
|
||||
// 特殊规则替换
|
||||
if (false !== strpos($key, '__')) {
|
||||
$key = str_replace(['__MODULE__', '__CONTROLLER__', '__ACTION__', '__URL__'], [$this->module, $this->controller, $this->action, md5($this->url())], $key);
|
||||
$key = str_replace(['__MODULE__', '__CONTROLLER__', '__ACTION__', '__URL__', ''], [$this->module, $this->controller, $this->action, md5($this->url())], $key);
|
||||
}
|
||||
|
||||
if (false !== strpos($key, ':')) {
|
||||
|
||||
Reference in New Issue
Block a user