mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-21 22:39:16 +08:00
[更新]修改模板替换值
This commit is contained in:
parent
39d6598063
commit
7c385bc27a
@ -14,7 +14,7 @@
|
||||
|
||||
// 模板常量声明
|
||||
$appRoot = app('request')->root();
|
||||
$uriRoot = rtrim(preg_match('/\.php$/', $appRoot) ? dirname($appRoot) : $appRoot, '/');
|
||||
$uriRoot = rtrim(preg_match('/\.php$/', $appRoot) ? dirname($appRoot) : $appRoot, '\\/');
|
||||
|
||||
return [
|
||||
// 模板引擎类型 支持 php think 支持扩展
|
||||
|
Loading…
x
Reference in New Issue
Block a user