123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?php
- return [
-
- 'app_name' => '',
-
- 'app_host' => '',
-
- 'app_debug' => APP_DEBUG,
-
- 'app_trace' => APP_DEBUG,
-
- 'app_status' => '',
-
- 'app_multi_module' => true,
-
- 'auto_bind_module' => false,
-
- 'root_namespace' => ['plugins' => CMF_ROOT . 'plugins/', 'themes' => WEB_ROOT . 'themes/', 'api' => CMF_ROOT . 'api/'],
-
- 'default_return_type' => 'html',
-
- 'default_ajax_return' => 'json',
-
- 'default_jsonp_handler' => 'jsonpReturn',
-
- 'var_jsonp_handler' => 'callback',
-
- 'default_timezone' => 'Asia/Shanghai',
-
- 'lang_switch_on' => false,
-
- 'default_filter' => 'htmlspecialchars,stripslashes,strip_tags',
-
- 'default_lang' => 'zh-cn',
-
- 'class_suffix' => true,
-
- 'controller_suffix' => "Controller",
-
-
-
-
- 'default_module' => 'portal',
-
- 'deny_module_list' => ['common'],
-
- 'default_controller' => 'Index',
-
- 'default_action' => 'index',
-
- 'default_validate' => '',
-
- 'empty_module' => '',
-
- 'empty_controller' => 'Error',
-
- 'use_action_prefix' => false,
-
- 'action_suffix' => '',
-
- 'controller_auto_search' => false,
-
-
-
-
- 'var_pathinfo' => 's',
-
- 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'],
-
- 'pathinfo_depr' => '/',
-
- 'https_agent_name' => '',
-
- 'url_html_suffix' => 'html',
-
- 'url_common_param' => false,
-
- 'url_param_type' => 0,
-
- 'url_lazy_route' => false,
-
- 'url_route_must' => false,
-
- 'route_rule_merge' => false,
-
- 'route_complete_match' => false,
-
- 'route_annotation' => 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' => [],
-
-
-
-
-
-
- 'error_message' => '页面错误!请稍后再试~',
-
- 'show_error_msg' => false,
-
- 'exception_handle' => '',
- ];
|