mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update view.php
This commit is contained in:
parent
c065dad9a0
commit
dc0f15c2b0
@ -39,7 +39,7 @@ return [
|
|||||||
// 定义模板替换字符串
|
// 定义模板替换字符串
|
||||||
'tpl_replace_string' => [
|
'tpl_replace_string' => [
|
||||||
'__APP__' => rtrim(url('@')->build(), '\\/'),
|
'__APP__' => rtrim(url('@')->build(), '\\/'),
|
||||||
'__ROOT__' => rtrim(dirname(request()->basefile(false)), '\\/'),
|
'__ROOT__' => rtrim(dirname(request()->basefile()), '\\/'),
|
||||||
'__HOST__' => rtrim(dirname(request()->basefile(true)), '\\/'),
|
'__HOST__' => rtrim(dirname(request()->basefile(true)), '\\/'),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user