配置文件调整

控制器类的ajaxReturn方法调整
This commit is contained in:
thinkphp
2015-02-23 15:38:12 +08:00
parent 1a4a102b49
commit b8344fa91a
8 changed files with 78 additions and 65 deletions

View File

@@ -41,12 +41,6 @@ return [
'var_jsonp_handler' => 'callback',
'template_engine' => 'think',
'common_module' => 'Common',
'log_path' => LOG_PATH,
'log_type' => 'File',
'cache_type' => 'File',
'caceh_path' => CACHE_PATH,
'session_prefix' => 'think',
'session_auto_start' => true,
'action_bind_class' => false,
'url_module_map' => [],
@@ -55,6 +49,24 @@ return [
'error_page' => '', // 错误定向页面
'show_error_msg' => false, // 显示错误信息
'log' => [
'type' => 'File',
'path' => LOG_PATH,
]
'cache' => [
'type' => 'File',
'path' => CACHE_PATH,
'prefix' => '',
'expire' => 0,
]
'session' => [
'prefix' => 'think',
'type' => '',
'auto_start' => true,
]
/* 数据库设置 */
'database' => [
'type' => 'mysql', // 数据库类型