123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?php
- use think\facade\Env;
- return [
-
- 'app_debug' => false,
-
- 'app_trace' => false,
-
- 'route_check_cache' => false,
-
- 'app_multi_module' => true,
-
- 'auto_bind_module' => false,
-
- 'root_namespace' => [],
-
- 'default_return_type' => 'html',
-
- 'default_ajax_return' => 'json',
-
- 'default_jsonp_handler' => 'jsonpReturn',
-
- 'var_jsonp_handler' => 'callback',
-
- 'default_timezone' => 'PRC',
-
- 'lang_switch_on' => false,
-
- 'default_filter' => 'htmlspecialchars,trim',
-
- 'default_lang' => 'zh-cn',
-
- 'class_suffix' => false,
-
- 'controller_suffix' => false,
-
- 'default_module' => 'system',
-
- 'deny_module_list' => ['common'],
-
- 'default_controller' => 'home.index',
-
- 'default_action' => 'index',
-
- 'default_validate' => '',
-
- 'empty_controller' => 'Error',
-
- 'action_suffix' => '',
-
- 'controller_auto_search' => true,
-
- 'var_pathinfo' => 's',
-
- 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'],
-
- 'pathinfo_depr' => '/',
-
- 'url_html_suffix' => 'html',
-
- 'url_common_param' => true,
-
- 'url_param_type' => 0,
-
- 'route_complete_match' => false,
-
- 'url_route_must' => false,
-
- 'route_annotation' => false,
-
- 'url_domain_deploy' => false,
-
- 'url_domain_root' => '',
-
- 'url_convert' => true,
-
- 'url_controller_layer' => 'controller',
-
- 'var_method' => '_method',
-
- 'var_ajax' => '_ajax',
-
- 'var_pjax' => '_pjax',
-
- 'request_cache' => false,
-
- 'request_cache_expire' => null,
-
- 'dispatch_success_tmpl' => Env::get('app_path') . 'system/view/error/dispatch_jump.tpl',
- 'dispatch_error_tmpl' => Env::get('app_path') . 'system/view/error/dispatch_jump.tpl',
-
- 'exception_tmpl' => Env::get('app_path') . 'system/view/error/exception.tpl',
-
- 'error_message' => '页面错误!请稍后再试~',
-
- 'show_error_msg' => true,
-
- 'exception_handle' => '',
-
- 'empty_module' => 'system'
- ];
|