fix ipguard api call
This commit is contained in:
parent
058ea5695a
commit
ab17abc1c9
@ -9,6 +9,6 @@ $ip = get_client_ip();
|
|||||||
|
|
||||||
file_put_contents(__DIR__ . '/../dynamic/self_ip_address.auto.cfg', $ip);
|
file_put_contents(__DIR__ . '/../dynamic/self_ip_address.auto.cfg', $ip);
|
||||||
|
|
||||||
system('add-trusted-ip "' . $ip . '"');
|
system('ipguard add "' . $ip . '"');
|
||||||
|
|
||||||
echo 'Ok.';
|
echo 'Ok.';
|
||||||
|
Loading…
Reference in New Issue
Block a user