123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- return [
- 'timeZone' => 'Asia/Shanghai',
- 'language'=>'zh-CN',
- 'charSet'=>'utf-8',//页面编码
- 'systemName'=>'Kiivo KMS',
- 'copyRight'=>'©2022-2030 KiivoKMS.',
- 'cookieValidationKey'=>'ZHWMOkahdqpv90NM',
- 'retryTimes'=>3,
- 'capcha'=>'capcha',//验证码session 存储名
- 'capchaTime'=>'capchaTime',//SESSION 存储的验证码生成时间
- 'capchaTimeout'=>'60',//默认验证码有效时间60s
- 'authKey'=>'vHI8x4tY4HOR2bAunEVg',//加密因子
- 'adminCookieName'=>'backcookie',//后台COOKIE名称
- 'userCookieName'=>'frontcookie',//前台COOKIE名称
- 'authHashName'=>'authhash',//三方登录hash名称
- 'referPageName'=>'referpage',//上一页名称
- 'shareArgName'=>'shareno',//分享参数名
- 'baidukwName'=>'baidukw',//百度竞价跟踪
- 'apiTokenExpire' => 7200,
- 'remberExpire' => 24*3600*7,//记住登录状态
- 'qrcodeExpire' => 120,//二维码有效期
- 'defaultNickName'=>'普通用户',
- 'htmlrule' => 0,//HTML后缀
- 'wxPath'=> BASE_PATH.'web'.DIRECTORY_SEPARATOR.'upload'.DIRECTORY_SEPARATOR.'weixin'.DIRECTORY_SEPARATOR,//微信通信文件目录
- 'wxPayCertPath'=> BASE_PATH.'web'.DIRECTORY_SEPARATOR.'upload'.DIRECTORY_SEPARATOR.'paycert'.DIRECTORY_SEPARATOR.'weixin'.DIRECTORY_SEPARATOR,//微信支付证书上传根目录路径
- 'wxappPayCertPath'=> BASE_PATH.'web'.DIRECTORY_SEPARATOR.'upload'.DIRECTORY_SEPARATOR.'paycert'.DIRECTORY_SEPARATOR.'wxapp'.DIRECTORY_SEPARATOR,//微信支付证书上传根目录路径
- 'aliPayCertPath'=> BASE_PATH.'web'.DIRECTORY_SEPARATOR.'upload'.DIRECTORY_SEPARATOR.'paycert'.DIRECTORY_SEPARATOR.'alipay'.DIRECTORY_SEPARATOR,//支付宝支付证书上传根目录路径
- 'uploadPath'=> BASE_PATH.'web'.DIRECTORY_SEPARATOR.'upload'.DIRECTORY_SEPARATOR,//附件上传根目录路径
- 'thumbPath'=> BASE_PATH.'web'.DIRECTORY_SEPARATOR.'thumb'.DIRECTORY_SEPARATOR,//附件缩略图根目录路径
- 'uploadUrl' => UPLOAD_DOMAIN.'upload/',//本地附件访问URL
- 'themePath'=> BASE_PATH.'themes'.DIRECTORY_SEPARATOR,//模板路径
- //静态化和缓存配置
- 'htmlPath'=> BASE_PATH.'web'.DIRECTORY_SEPARATOR,//静态化HTML根目录路径
- 'cachePath'=>BASE_PATH.'runtime'.DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR,//缓存文件根路径
- 'lockEx'=>1,
- 'access_token_name'=>'access_token',//用于接口通信的凭证名称
- /* 图片上传插件webuploader + */
- 'webuploader' => [
- // 后端处理图片的action,value是相对的地址
- 'uploadUrl' => '/site/upload',
- 'md5checkUrl' => 'upload/docmd5check',
- // 多文件分隔符
- 'delimiter' => ',',
- // 基本配置
- 'baseConfig' => [
- 'defaultImage' => '',
- 'disableGlobalDnd' => true,
- 'accept' => [
- 'title' => 'Files',
- 'extensions' => 'pdf,doc,docx,wps,ppt,pptx,dps,xls,xlsx,et,jpg,jpeg,png,gif,ico,mp3,mp4,zip,rar',
- 'mimeTypes' => '*',
- ],
- 'pick' => [
- 'multiple' => false,
- ],
- 'buttonTxt'=>'',
- 'buttonDivClass'=>'',
- 'uploadType'=>2,//1:图片 2:文件
- 'fileNumLimit' => 200,//单次选择文件数量
- 'fileSingleSizeLimit' => 314572800,//限制单文件大小,
- 'fileSizeLimit' => 314572800,//限制单次文件总大小,
- 'formData'=>[],
- 'absoluteUrl'=>0,
- ],
- ],
- ];
|