包含:登录失败锁定、90天密码有效期、30分钟会话超时、 强制改密、登录审计日志、屏幕水印、企业背景图、 备案信息固定底部、favicon、JS空集合保护、 会话过期体验优化(403 JSON)、display_errors 关闭、 固定 key 根治 Integrity check failed 等全部改动 注意:config.inc.php/.htaccess/.user.ini 含敏感信息, 通过 .gitignore 排除,勿推送到公开仓库。
13 lines
867 B
SQL
13 lines
867 B
SQL
#
|
|
# Change all tables to use utf8mb4 charset instead of the flawed utf8 charset.
|
|
# The 'zoneinfo' table still uses utf8 so the unique index on the 255 character 'zoneinfo'
|
|
# column doesn't go over the 767 byte limit on MySQL 'COMPACT' format tables.
|
|
|
|
ALTER TABLE %DB_TBL_PREFIX%area CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
|
ALTER TABLE %DB_TBL_PREFIX%room CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
|
ALTER TABLE %DB_TBL_PREFIX%repeat CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
|
ALTER TABLE %DB_TBL_PREFIX%entry CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
|
ALTER TABLE %DB_TBL_PREFIX%variables CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
|
ALTER TABLE %DB_TBL_PREFIX%zoneinfo CONVERT TO CHARSET utf8 COLLATE utf8_unicode_ci;
|
|
ALTER TABLE %DB_TBL_PREFIX%users CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci;
|