模板缓存默认路径改变

This commit is contained in:
thinkphp
2013-04-11 15:12:56 +08:00
parent 00e3c8c4fe
commit 6108c015b3

View File

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