support for NATed networks

This commit is contained in:
Serghey Rodin 2013-02-05 22:58:40 +02:00
commit 138ef6c7b0
37 changed files with 271 additions and 94 deletions

View file

@ -13,7 +13,8 @@ if ($_SESSION['user'] == 'admin') {
if ($return_var != 0) {
$error = implode('<br>', $output);
if (empty($error)) $error = _('Error: vesta did not return any output.');
$_SESSION['error_msg'] = $error;
if ($return_var == 4) $error = _('IP address is in use');
$_SESSION['error_msg'] = $error;
}
unset($output);