console模式下载入配置

This commit is contained in:
yunwuxin
2016-04-05 14:40:56 +08:00
parent 5a0664c826
commit 25831f77d8
2 changed files with 66 additions and 12 deletions

View File

@@ -27,17 +27,6 @@ return [
'think\Error' => MODE_PATH . 'console/Error' . EXT
],
// 配置文件
'config' => [
'log' => [
'type' => 'File', // 支持 file socket trace sae
'path' => LOG_PATH,
],
'cache' => [
'type' => 'File',
'path' => CACHE_PATH,
'prefix' => '',
'expire' => 0,
]
]
'config' => THINK_PATH . 'convention' . EXT
];