包含:登录失败锁定、90天密码有效期、30分钟会话超时、 强制改密、登录审计日志、屏幕水印、企业背景图、 备案信息固定底部、favicon、登录页JS修复等全部改动
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- Add extra columns to the area table to hold area settings
|
||||
|
||||
ALTER TABLE %DB_TBL_PREFIX%area
|
||||
ADD times_along_top tinyint NOT NULL DEFAULT 0,
|
||||
ADD default_type char DEFAULT 'E' NOT NULL;
|
||||
@@ -0,0 +1,5 @@
|
||||
-- Add extra columns to the area table to hold area settings
|
||||
|
||||
ALTER TABLE %DB_TBL_PREFIX%area
|
||||
ADD times_along_top smallint NOT NULL DEFAULT 0,
|
||||
ADD default_type char DEFAULT 'E' NOT NULL;
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace MRBS;
|
||||
|
||||
// Populate the new columns in the area table with the default values taken
|
||||
// from the config file.
|
||||
|
||||
global $times_along_top, $default_type;
|
||||
|
||||
$times_along_top = ($times_along_top) ? 1 : 0;
|
||||
|
||||
$sql = "UPDATE " . _tbl('area') . "
|
||||
SET times_along_top = :times_along_top,
|
||||
default_type = :default_type";
|
||||
|
||||
$sql_params = array(
|
||||
':times_along_top' => $times_along_top,
|
||||
':default_type' => $default_type
|
||||
);
|
||||
|
||||
$upgrade_handle->command($sql, $sql_params);
|
||||
Reference in New Issue
Block a user