mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-19 07:55:21 +00:00
修复缺少isset($configALL['notify_on_change'])判断警告
This commit is contained in:
parent
a9d9fb637d
commit
5418c02227
@ -852,7 +852,7 @@ class AutoReseed
|
||||
private static function wechatMessage()
|
||||
{
|
||||
global $configALL;
|
||||
if ($configALL['notify_on_change'] && self::$wechatMsg['reseedSuccess'] == 0 && self::$wechatMsg['reseedError'] == 0) {
|
||||
if (isset($configALL['notify_on_change']) && $configALL['notify_on_change'] && self::$wechatMsg['reseedSuccess'] == 0 && self::$wechatMsg['reseedError'] == 0) {
|
||||
return;
|
||||
}
|
||||
$br = PHP_EOL;
|
||||
|
4
init.php
4
init.php
@ -58,10 +58,10 @@ if (file_exists(ROOT_PATH."/config/config.php")) {
|
||||
echo microtime(true).' 请编辑配置文件config.php,以免后续版本升级覆盖配置!!!'.PHP_EOL;
|
||||
$t = 30;
|
||||
do {
|
||||
echo microtime(true)." 请编辑配置文件config.php,{$t}秒后继续...".PHP_EOL;
|
||||
echo microtime(true)." 请编辑配置文件config.php,{$t}秒后退出...".PHP_EOL;
|
||||
sleep(1);
|
||||
} while (--$t > 0);
|
||||
|
||||
exit;
|
||||
}
|
||||
echo microtime(true).' 全局配置载入完成!'.PHP_EOL;
|
||||
// 读取支持列表
|
||||
|
Loading…
x
Reference in New Issue
Block a user