#tradewind:update ip check

This commit is contained in:
tradewind 2021-05-03 16:15:27 +08:00
parent 8105eb79ca
commit 64b3f5599e

View File

@ -29,7 +29,7 @@ try {
} }
$realIp = shell_exec('curl -s ifconfig.me'); $realIp = shell_exec('curl -s ip.sb');
if (!empty($realIp)) { if (!empty($realIp)) {
if ($realIp !== $recordIp) { if ($realIp !== $recordIp) {