diff --git a/library/think/Template.php b/library/think/Template.php index 74407d62..944bf33d 100644 --- a/library/think/Template.php +++ b/library/think/Template.php @@ -26,6 +26,7 @@ class Template // 引擎配置 protected $config = [ 'view_path' => '', // 模板路径 + 'view_base' => '', 'view_suffix' => 'html', // 默认模板文件后缀 'view_depr' => DS, 'cache_suffix' => 'php', // 默认模板缓存后缀