123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- <?php
- return [
-
-
-
-
- 'app_debug' => false,
-
- 'app_trace' => false,
-
- 'app_status' => '',
-
- 'app_multi_module' => true,
-
- 'auto_bind_module' => false,
-
- 'root_namespace' => [],
-
- 'extra_file_list' => [THINK_PATH . 'helper' . EXT],
-
- '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' => '',
-
- 'default_lang' => 'zh-cn',
-
- 'class_suffix' => false,
-
- 'controller_suffix' => false,
-
-
-
-
- 'default_module' => 'Home',
-
- 'deny_module_list' => ['common'],
-
- 'default_controller' => 'Index',
-
- 'default_action' => 'index',
-
- 'default_validate' => '',
-
- 'empty_controller' => 'Error',
-
- 'action_suffix' => '',
-
- 'controller_auto_search' => false,
-
-
-
-
- 'var_pathinfo' => 's',
-
- 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'],
-
- 'pathinfo_depr' => '/',
-
- 'url_html_suffix' => 'html',
-
- 'url_common_param' => false,
-
- 'url_param_type' => 0,
-
- 'url_route_on' => true,
-
- 'route_complete_match' => false,
-
- 'route_config_file' => ['route'],
-
- 'route_check_cache' => false,
-
- 'url_route_must' => 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,
-
- 'request_cache_except' => [],
-
-
-
- 'template' => [
-
- 'type' => 'Think',
-
- 'auto_rule' => 1,
-
- 'view_path' => '',
-
- 'view_suffix' => 'html',
-
- 'view_depr' => DS,
-
- 'tpl_begin' => '{',
-
- 'tpl_end' => '}',
-
- 'taglib_begin' => '{',
-
- 'taglib_end' => '}',
- ],
-
- 'view_replace_str' => [],
-
- 'dispatch_success_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl',
- 'dispatch_error_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl',
-
-
-
-
- 'exception_tmpl' => THINK_PATH . 'tpl' . DS . 'think_exception.tpl',
-
- 'error_message' => '页面错误!请稍后再试~',
-
- 'show_error_msg' => false,
-
- 'exception_handle' => '',
-
-
-
- 'log' => [
-
- 'type' => 'File',
-
- 'path' => LOG_PATH,
-
- 'level' => [],
- ],
-
-
-
- 'trace' => [
-
- 'type' => 'Html',
- ],
-
-
-
- 'cache' => [
-
- 'type' => 'File',
-
- 'path' => CACHE_PATH,
-
- 'prefix' => '',
-
- 'expire' => 0,
- ],
-
-
-
- 'session' => [
- 'id' => '',
-
- 'var_session_id' => '',
-
- 'prefix' => 'think',
-
- 'type' => '',
-
- 'auto_start' => true,
- ],
-
-
-
- 'cookie' => [
-
- 'prefix' => '',
-
- 'expire' => 0,
-
- 'path' => '/',
-
- 'domain' => '',
-
- 'secure' => false,
-
- 'httponly' => '',
-
- 'setcookie' => true,
- ],
-
- 'paginate' => [
- 'type' => 'bootstrap',
- 'var_page' => 'page',
- 'list_rows' => 15,
- ],
- ];
|