[更新]修改模板替换值

This commit is contained in:
Anyon 2018-03-14 15:41:52 +08:00
parent 39d6598063
commit 7c385bc27a

View File

@ -14,7 +14,7 @@
// 模板常量声明 // 模板常量声明
$appRoot = app('request')->root(); $appRoot = app('request')->root();
$uriRoot = rtrim(preg_match('/\.php$/', $appRoot) ? dirname($appRoot) : $appRoot, '/'); $uriRoot = rtrim(preg_match('/\.php$/', $appRoot) ? dirname($appRoot) : $appRoot, '\\/');
return [ return [
// 模板引擎类型 支持 php think 支持扩展 // 模板引擎类型 支持 php think 支持扩展