mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修复域名下__PUBLIC__的文件判断
This commit is contained in:
parent
c7d014c1d8
commit
15ff595378
@ -31,7 +31,7 @@ class FilterView {
|
||||
$replace = [
|
||||
'__APP__' => $app,
|
||||
'__SELF__' => Request::instance()->url(true),
|
||||
'__PUBLIC__' => strpos($app, '.') ? ltrim(dirname($app), DS) : $app,
|
||||
'__PUBLIC__' => strpos($app, EXT) ? ltrim(dirname($app), DS) : $app,
|
||||
];
|
||||
$params = str_replace(array_keys($replace), array_values($replace), $params);
|
||||
$this->baidu($params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user