123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- <?php
- use think\Env;
- return [
-
-
-
-
- 'app_namespace' => 'app',
-
- 'app_debug' => true,
-
- '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' => 'admin',
-
- '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' => 'shtml',
-
- '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,
-
- 'request_cache_except' => [],
-
-
-
- 'template' => [
-
- 'type' => 'Think',
-
- 'view_path' => '',
-
- 'view_suffix' => 'html',
-
- 'view_depr' => DS,
-
- 'tpl_begin' => '{',
-
- 'tpl_end' => '}',
-
- 'taglib_begin' => '{',
-
- 'taglib_end' => '}',
- ],
-
- 'view_replace_str' => [
- '__CSS__' => '/static/admin/css',
- '__JS__' => '/static/admin/js',
- '__IMG__' => '/static/admin/images',
- ],
-
- 'dispatch_success_tmpl' => APP_PATH.'admin/view/public/success.tpl',
-
- 'dispatch_error_tmpl' => APP_PATH.'admin/view/public/error.tpl',
-
-
-
-
- 'exception_tmpl' => THINK_PATH . 'tpl' . DS . 'think_exception.tpl',
-
- 'error_message' => '',
-
- 'show_error_msg' => false,
-
- 'exception_handle' => '',
- 'http_exception_template' => [
-
- 404 => APP_PATH.'404.html',
-
- 500 => APP_PATH.'500.html'
- ],
-
-
-
- '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' => 'page',
- 'var_page' => 'page',
- 'list_rows' => 15,
- ],
- 'sql_explain' => false,
- 'extra_config_list' => ['database', 'route', 'validate'],
-
-
-
- 'auth_config' => [
- 'auth_on' => 1,
- 'auth_type' => 1,
- 'auth_group' => 'think_auth_group',
- 'auth_group_access' => 'think_auth_group_access',
- 'auth_rule' => 'think_auth_rule',
- 'auth_user' => 'think_admin',
- ],
-
-
-
- 'auth_pass' =>[
- 'admin/index/index',
- 'admin/index/indexpage',
- 'admin/user/adminedit',
- 'admin/upload/updateface',
- 'admin/user/editpwd',
- 'admin/base/place',
- 'admin/user/checkname',
- 'admin/role/checkrole',
- 'admin/upload/upload',
- 'admin/upload/deleteimg',
- 'admin/upload/uploadOnYpy',
- 'admin/upload/deleteYpy',
- 'admin/upload/layUpload',
- 'admin/upload/layUploadVideo',
- 'admin/upload/wangUpload',
- 'admin/upload/ueditorUpload',
- 'admin/upload/uploadLocality',
- 'admin/upload/deleteLocality',
- ],
-
-
-
- 'data_backup_path' => '../data/',
- 'data_backup_part_size' => '20971520',
- 'data_backup_compress' => '0',
- 'data_backup_compress_level' => '9',
-
-
-
- 'verify_type' => '1',
- 'auth_key' => 'GtjG6jjovVqUdJYpXNxiNPfaejbDEBUnTzDcrEcM',
- 'pages' => '10',
- 'salt' => 'wZPb~yxvA!ir38&Z',
- 'quality' => '90',
- 'period' => '7200',
- 'log_std' => '1',
-
- 'gee' => [
- 'gee_id' => '',
- 'gee_key' => '',
- ],
-
- 'smtp' => [
- 'server' => "",
- 'serverport' => "",
- 'usermail' => "",
- 'pass' => "",
- 'smtpuser' => ""
- ],
-
- 'qiniu' => [
- 'accessKey' => '',
- 'secretKey' => '',
- 'bucket' => '',
- 'pipeline' => '',
- 'domain' => '',
- ],
-
- 'yzx' => [
- 'appid' => '',
- 'templateid' => '',
- 'accountsid' => '',
- 'token' => '',
- ],
-
- 'alidy' => [
- 'AccessKeyId' => '',
- 'AccessKeySecret' => '',
- 'SignName' => '',
- 'TemplateCode' => ''
- ],
-
- 'jpush' => [
- 'appKey' => '',
- 'masterSecret' => ''
- ],
-
- 'upyun' => [
- 'serviceName' => '',
- 'operatorName' => '',
- 'operatorPassword' => '',
- 'domain' => '',
- ],
- ];
|