add current ip to log
This commit is contained in:
@@ -42,7 +42,7 @@ if ($serverIp) {
|
||||
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
|
||||
curl_setopt($ch, CURLOPT_USERPWD, "$user:$pass");
|
||||
$response = curl_exec($ch);
|
||||
echo "[$dateUpdate] $toUpdate: " . $response . PHP_EOL;
|
||||
echo "[$dateUpdate] $toUpdate ($currentIp): " . $response . PHP_EOL;
|
||||
curl_close($ch);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user