mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-11 18:11:07 +08:00
Compare commits
5 Commits
a47ef73a5b
...
88e8b5d4a3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88e8b5d4a3 | ||
|
|
c3dcb3a9f6 | ||
|
|
4f8e4bf443 | ||
|
|
5e153a92a9 | ||
|
|
d32c23432d |
@ -39,7 +39,7 @@ return [
|
||||
'cors_methods' => 'GET,PUT,POST,PATCH,DELETE',
|
||||
// CORS 跨域头部字段
|
||||
'cors_headers' => 'Api-Type,Api-Name,Api-Uuid,Api-Token,User-Form-Token,User-Token,Token',
|
||||
// 显示错误消息内容,仅产品模式有效
|
||||
// 显示错误消息内容,仅生产模式有效
|
||||
'error_message' => '页面错误!请稍后再试~',
|
||||
// 异常模板路径配置,仅开发模式有效
|
||||
'exception_tmpl' => with_path('app/admin/view/error.php'),
|
||||
|
||||
@ -33,5 +33,19 @@ return [
|
||||
// 序列化机制
|
||||
'serialize' => [],
|
||||
],
|
||||
'safe' => [
|
||||
// 驱动方式
|
||||
'type' => 'File',
|
||||
// 缓存保存目录
|
||||
'path' => with_path('safefile/cache/'),
|
||||
// 缓存名称前缀
|
||||
'prefix' => '',
|
||||
// 缓存有效期 0 表示永久缓存
|
||||
'expire' => 0,
|
||||
// 缓存标签前缀
|
||||
'tag_prefix' => 'tag:',
|
||||
// 序列化机制
|
||||
'serialize' => [],
|
||||
],
|
||||
],
|
||||
];
|
||||
@ -21,6 +21,7 @@ return [
|
||||
'allow_lang_list' => ['zh-cn'],
|
||||
// 转义为对应语言包名称
|
||||
'accept_language' => [
|
||||
'en' => 'en-us',
|
||||
'zh-hans-cn' => 'zh-cn',
|
||||
],
|
||||
// 多语言自动侦测变量名
|
||||
|
||||
24
config/phinx.php
Normal file
24
config/phinx.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkAdmin
|
||||
// +----------------------------------------------------------------------
|
||||
// | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | 官方网站: https://thinkadmin.top
|
||||
// +----------------------------------------------------------------------
|
||||
// | 开源协议 ( https://mit-license.org )
|
||||
// | 免费声明 ( https://thinkadmin.top/disclaimer )
|
||||
// +----------------------------------------------------------------------
|
||||
// | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
|
||||
// | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
// 忽略数据表
|
||||
'ignore' => [],
|
||||
// 数据表结构
|
||||
'tables' => [],
|
||||
// 备份数据表
|
||||
'backup' => [],
|
||||
];
|
||||
2
public/static/plugs/ckeditor5/ckeditor.js
vendored
2
public/static/plugs/ckeditor5/ckeditor.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user