将topthink/think-template引入到框架内;增加fetch和include的文件目录的@和@/开头的定位方法

This commit is contained in:
2023-09-26 10:39:32 +08:00
parent 184dae8185
commit 3b93706c74
11 changed files with 2639 additions and 55 deletions

View File

@@ -26,7 +26,9 @@ return [
// 标签库标签结束标记
'taglib_end' => '}',
// 模板缓存
'display_cache' => true,
'display_cache' => false,
// 模板编译缓存
'tpl_cache' => true,
// 字符替换
'tpl_replace_string' => [
'__STATIC__' => Env::get('adminsystem.static_path', '/static'),