mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
Return code verification on db create. Fixes #64
This commit is contained in:
parent
597a92e232
commit
66e94a79fe
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if (!empty($_POST['ok'])) {
|
|||
unset($v_password);
|
||||
unset($output);
|
||||
}
|
||||
if (!empty($v_db_email)) {
|
||||
if ((!empty($v_db_email)) && ($return_var != 0)) {
|
||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
|
||||
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||
if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue