mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
minor bugfixes for 0.9.7 release
This commit is contained in:
parent
20e407d6d8
commit
a12c625091
4 changed files with 9 additions and 7 deletions
|
@ -11,8 +11,9 @@ foreach ($data as $key => $value) {
|
|||
$spnd_action = 'suspend' ;
|
||||
}
|
||||
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpMyAdmin/";
|
||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpPgAdmin/";
|
||||
list($http_host, $port) = split(':', $_SERVER["HTTP_HOST"]);
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
|
||||
?>
|
||||
|
||||
|
||||
|
|
|
@ -11,8 +11,9 @@ foreach ($data as $key => $value) {
|
|||
$spnd_action = 'suspend' ;
|
||||
}
|
||||
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpMyAdmin/";
|
||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$_SERVER["HTTP_HOST"]."/phpPgAdmin/";
|
||||
list($http_host, $port) = split(':', $_SERVER["HTTP_HOST"]);
|
||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
|
||||
?>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue