文件
yjyf/server/application/extra/site.php
linda 9bb74e6e6a feat(admin): 系统配置中文化与缓存刷新
- 站点名称、版本、分类类型、配置分组、附件分类改为中文
- fa_config 配置项标题/提示/默认值统一中文,修正首页配置乱码
- 语言包禁用长缓存,后台文案调整后立即生效
- 站点版本升至 1.0.2,强制刷新后台 JS/CSS 缓存
2026-10-29 09:49:28 +08:00

41 行
991 B
PHP
可执行文件

<?php
return [
'name' => '优匠优服',
'beian' => '',
'cdnurl' => '',
'version' => '1.0.2',
'timezone' => 'Asia/Shanghai',
'forbiddenip' => '',
'languages' => [
'backend' => 'zh-cn',
'frontend' => 'zh-cn',
],
'fixedpage' => 'dashboard',
'categorytype' => [
'default' => '默认',
'page' => '单页',
'article' => '文章',
'test' => '测试',
],
'configgroup' => [
'basic' => '基础配置',
'email' => '邮箱配置',
'dictionary' => '字典配置',
'user' => '会员配置',
'example' => '示例',
],
'attachmentcategory' => [
'category1' => '分类1',
'category2' => '分类2',
'custom' => '自定义',
],
'mail_type' => '1',
'mail_smtp_host' => 'smtp.qq.com',
'mail_smtp_port' => '465',
'mail_smtp_user' => '',
'mail_smtp_pass' => '',
'mail_verify_type' => '2',
'mail_from' => '',
];