123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
- <?php
- use think\Env;
- return [
-
-
-
-
- 'app_namespace' => 'app',
-
- 'app_debug' => Env::get('app.debug', true),
-
- 'app_trace' => Env::get('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',
-
- 'allow_lang_list' => ['zh-cn', 'en'],
-
- 'class_suffix' => false,
-
- 'controller_suffix' => false,
-
- 'http_agent_ip' => 'REMOTE_ADDR',
-
-
-
-
- 'default_module' => 'admin',
-
- 'deny_module_list' => ['common', 'admin'],
-
- 'default_controller' => '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' => false,
-
- 'url_param_type' => 0,
-
- 'url_route_on' => true,
-
- 'route_complete_match' => false,
-
- 'route_config_file' => ['route'],
-
- '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,
-
-
-
- 'template' => [
-
- 'type' => 'Think',
-
- 'view_path' => '',
-
- 'view_suffix' => 'html',
-
- 'view_depr' => DS,
-
- 'tpl_begin' => '{',
-
- 'tpl_end' => '}',
-
- 'taglib_begin' => '{',
-
- 'taglib_end' => '}',
- 'tpl_cache' => true,
- ],
-
- 'view_replace_str' => [
- '__PUBLIC__' => '',
- '__ROOT__' => '',
- '__CDN__' => '',
- ],
-
- 'dispatch_success_tmpl' => APP_PATH . 'common' . DS . 'view' . DS . 'tpl' . DS . 'dispatch_jump.tpl',
- 'dispatch_error_tmpl' => APP_PATH . 'common' . DS . 'view' . DS . 'tpl' . DS . 'dispatch_jump.tpl',
-
-
-
-
- 'exception_tmpl' => APP_PATH . 'common' . DS . 'view' . DS . 'tpl' . DS . 'think_exception.tpl',
-
- 'http_exception_template' => [
-
-
- ],
-
- '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,
- ],
-
- 'captcha' => [
-
- 'codeSet' => '2345678abcdefhijkmnpqrstuvwxyzABCDEFGHJKLMNPQRTUVWXY',
-
- 'fontSize' => 18,
-
- 'useCurve' => false,
-
- 'useZh' => false,
-
- 'imageH' => 40,
-
- 'imageW' => 130,
-
- 'length' => 4,
-
- 'reset' => true
- ],
-
-
-
- 'token' => [
-
- 'type' => 'Mysql',
-
- 'key' => 'eT1vGYU7qoxSKQMaVALlCWX0RfgJNH3D',
-
- 'hashalgo' => 'ripemd160',
-
- 'expire' => 0,
- ],
-
- 'fastadmin' => [
-
- 'usercenter' => true,
-
- 'user_register_captcha' => 'text',
-
- 'login_captcha' => true,
-
- 'login_failure_retry' => true,
-
- 'login_unique' => false,
-
- 'loginip_check' => true,
-
- 'login_background' => "",
-
- 'multiplenav' => false,
-
- 'multipletab' => true,
-
- 'show_submenu' => false,
-
- 'adminskin' => '',
-
- 'breadcrumb' => false,
-
- 'unknownsources' => false,
-
- 'backup_global_files' => true,
-
- 'auto_record_log' => true,
-
- 'addon_pure_mode' => true,
-
- 'cors_request_domain' => 'localhost,127.0.0.1',
-
- 'version' => '1.4.0.20230711',
-
- 'api_url' => 'https://api.fastadmin.net',
- ],
- ];
|