mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
propper pma link to remote host
This commit is contained in:
parent
53638e09db
commit
a0df116629
2 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
$status = 'active';
|
||||
$spnd_action = 'suspend' ;
|
||||
}
|
||||
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
$status = 'active';
|
||||
$spnd_action = 'suspend' ;
|
||||
}
|
||||
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue