123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380 |
- <?php
- use think\Env;
- return [
-
-
-
-
- 'app_namespace' => 'app',
-
- 'app_debug' => Env::get('app.debug', false),
- 'app_debug' => true,
-
- 'app_trace' => Env::get('app.trace', false),
- 'app_trace' => true,
-
- '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' => true,
-
- 'default_filter' => '',
-
- 'default_lang' => 'zh-cn',
-
- 'class_suffix' => false,
-
- 'controller_suffix' => false,
-
- 'http_agent_ip' => 'REMOTE_ADDR',
-
-
-
-
- 'default_module' => 'index',
-
- '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',
-
- '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' => '4W9QU2InHbMedXRcFikTosDlh0grxKEN',
-
- 'hashalgo' => 'ripemd160',
-
- 'expire' => 0,
- ],
-
- 'fastadmin' => [
-
- 'usercenter' => true,
-
- 'user_register_captcha' => 'text',
-
- 'login_captcha' => false,
-
- 'login_failure_retry' => true,
-
- 'login_unique' => false,
-
- 'loginip_check' => true,
-
- 'login_background' => "",
-
- 'multiplenav' => false,
-
- 'multipletab' => true,
-
- 'adminskin' => 'skin-black-green',
-
- '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.2.1.20210730_beta',
-
- 'api_url' => 'https://api.fastadmin.net',
- ],
-
-
- 'tencent_im' => [
- 'sdkappid' => '1400799965',
- 'identifier' => 'administrator',
-
- 'callback_secret' => 'shezhihuidiaomiyao123456',
- 'key' => 'b952d4076f884c11d74f1903b6efce4cf952b38210b84259ea5a288c68735715',
- 'SecretId' => 'AKIDE7l8ELRofFdldE42TgbKWRCiz3qMAaIn',
- 'SecretKey' => 'PaUDfroUZuyqQkW5QUHn4culQsDHRwJS',
- ],
-
- 'cos' => [
- 'appid' => '1253256600',
-
- "url" => 'https://mita-1253256600.cos.ap-nanjing.myqcloud.com',
-
- 'secretId' => 'AKIDE7l8ELRofFdldE42TgbKWRCiz3qMAaIn',
-
- 'secretKey' => 'PaUDfroUZuyqQkW5QUHn4culQsDHRwJS',
-
- 'bucket' => 'mita-1253256600',
-
- 'region' => 'ap-nanjing',
-
- 'durationSeconds' => 1800,
-
- 'allowPrefix' => '*',
- ],
-
- 'redis' => [
-
- 'host' => '127.0.0.1',
-
- 'port' => 6379,
- 'redis_pwd' => '',
- 'redis_selectdb' => 0,
- ],
-
- 'onLogin' => [
-
- 'secretid' => '9241225ab5e880d9b746c043962486bf',
-
- 'secretkey' => '5c6f6483eb0002dd3a1d866d17f409b1',
-
- 'businessid' => '31c634cee6364d47a007fe87a46342ea',
- ],
-
- 'renlian' => [
- 'appid' => 'IDAnDqaz',
- 'secret' => 'sAsx6iK7CsrqJm55xfKlOd4jqDwSHJ9jKKFjoXc59be1GzG3oxKVWSJ03eAIWuWU',
- ],
- 'pay_notify_url' => 'https://tken.huxiukeji.cn',
- 'domain_cdnurl' => 'https://mita-1253256600.cos.ap-nanjing.myqcloud.com',
-
- 'wxMiniProgram' => [
- 'appid' => 'wxc36febe4553c482c',
- 'secret' => '35dfe74bdec9ceced7aa494f9f45c844',
- ],
- ];
|