mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 21:52:34 +08:00
数组定义用法统一
This commit is contained in:
@@ -15,15 +15,15 @@ class Controller {
|
||||
|
||||
public function __construct(){
|
||||
|
||||
$config['template_options'] = array(
|
||||
$config['template_options'] = [
|
||||
'tpl_path' => MODULE_PATH.'view/',
|
||||
'cache_path' => MODULE_PATH.'cache/',
|
||||
'compile_type' => 'File',
|
||||
'taglib_build_in' => 'cx',
|
||||
'cache_options' => array(
|
||||
'cache_options' => [
|
||||
'temp' => APP_PATH.'runtime/temp/',
|
||||
),
|
||||
);
|
||||
],
|
||||
];
|
||||
$config['http_content_type'] = 'text/html';
|
||||
$config['http_cache_control'] = 'private';
|
||||
$config['http_charset'] = 'utf-8';
|
||||
|
||||
Reference in New Issue
Block a user