1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- // +---------------------------------------------------------------------+
- // | OneBase | [ WE CAN DO IT JUST THINK ] |
- // +---------------------------------------------------------------------+
- // | Licensed | http://www.apache.org/licenses/LICENSE-2.0 ) |
- // +---------------------------------------------------------------------+
- // | Author | Bigotry <3162875@qq.com> |
- // +---------------------------------------------------------------------+
- // | Repository | https://gitee.com/Bigotry/OneBase |
- // +---------------------------------------------------------------------+
- // 前端配置文件
- empty(STATIC_DOMAIN) ? $static = [] : $static['__STATIC__'] = STATIC_DOMAIN . SYS_DS_PROS . SYS_STATIC_DIR_NAME;
- return [
- //'template' => ['layout_on' => true, 'layout_name' => 'layout'],
- // 视图输出字符串内容替换
- 'view_replace_str' => $static,
- // +----------------------------------------------------------------------
- // | 验证码配置
- // +----------------------------------------------------------------------
- 'captcha' => [
- // 验证码字符集合
- 'codeSet' => '123456789',
- // 验证码字体大小(px)
- 'fontSize' => 35,
- // 是否画混淆曲线
- 'useCurve' => false,
- // 验证码图片高度
- 'imageH' => 80,
- // 验证码图片宽度
- 'imageW' => 320,
- // 验证码位数
- 'length' => 4,
- // 验证成功后是否重置
- 'reset' => true
- ],
- ];
|