mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Merge pull request #244 from olipayne/master
ensure that the list of ips is unique
This commit is contained in:
commit
8e505ba713
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ $v_ftp_email = $panel[$user]['CONTACT'];
|
||||||
|
|
||||||
// List IP addresses
|
// List IP addresses
|
||||||
exec (VESTA_CMD."v-list-user-ips ".$user." json", $output, $return_var);
|
exec (VESTA_CMD."v-list-user-ips ".$user." json", $output, $return_var);
|
||||||
$ips = json_decode(implode('', $output), true);
|
$ips = array_unique(json_decode(implode('', $output), true));
|
||||||
unset($output);
|
unset($output);
|
||||||
|
|
||||||
// List web stat engines
|
// List web stat engines
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue