修正console模式

This commit is contained in:
云无心
2016-02-25 17:10:31 +08:00
parent 9f01dfa429
commit fad58a3082
2 changed files with 41 additions and 3 deletions

View File

@@ -21,9 +21,22 @@ return [
'traits' => LIB_PATH . 'traits' . DS,
APP_NAMESPACE => APP_PATH,
],
'config' => [
'commands' => [],
// 别名定义
'alias' => [
'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,
]
]
];