Translation fixes 1

This commit is contained in:
ZonD Eighty 2013-01-16 17:03:41 +04:00
commit 422d552cc8
7 changed files with 14 additions and 8 deletions

View file

@ -66,7 +66,8 @@ if (!empty($_POST['ok'])) {
$_SESSION['error_msg'] = $error;
unset($v_password);
unset($output);
} else {
}
else {
if (empty($v_notify)) {
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
@ -93,6 +94,7 @@ if (!empty($_POST['ok'])) {
}
}
}
}
exec (VESTA_CMD."v-list-database-types 'json'", $output, $return_var);
$db_types = json_decode(implode('', $output), true);
unset($output);