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