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