mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
模板缓存默认路径改变
This commit is contained in:
@@ -16,12 +16,12 @@ class Controller {
|
||||
public function __construct(){
|
||||
|
||||
$config['template_options'] = [
|
||||
'tpl_path' => MODULE_PATH.'view/',
|
||||
'cache_path' => MODULE_PATH.'cache/',
|
||||
'tpl_path' => MODULE_PATH.'View/',
|
||||
'cache_path' => RUNTIME_PATH.'Cache/',
|
||||
'compile_type' => 'File',
|
||||
'taglib_build_in' => 'cx',
|
||||
'cache_options' => [
|
||||
'temp' => APP_PATH.'runtime/temp/',
|
||||
'temp' => RUNTIME_PATH.'Temp/',
|
||||
],
|
||||
];
|
||||
$config['http_content_type'] = 'text/html';
|
||||
|
||||
Reference in New Issue
Block a user