mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update sys.php
This commit is contained in:
parent
8169dcd92b
commit
c0b270018f
@ -21,7 +21,7 @@ try {
|
||||
/*! 全局数据变更数据 */
|
||||
$GLOBALS['oplogs'] = [];
|
||||
/*! 数据变更日志开关状态 */
|
||||
if (sysconf('base.oplog_state') && ($days = floatval(sysoplog('base.oplog_days'))) > 0) {
|
||||
if (sysconf('base.oplog_state') && ($days = floatval(sysconf('base.oplog_days'))) > 0) {
|
||||
/*! 数据变更批量写入 */
|
||||
app()->event->listen('HttpEnd', function () {
|
||||
if (is_array($GLOBALS['oplogs']) && count($GLOBALS['oplogs']) > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user