数组定义用法统一

This commit is contained in:
thinkphp
2013-04-11 14:49:39 +08:00
parent bbe3ebedcf
commit 00ee80e943
35 changed files with 83 additions and 81 deletions

View File

@@ -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';