minor bugfixes for 0.9.7 release

This commit is contained in:
Serghey Rodin 2012-07-04 23:23:35 +03:00
commit a12c625091
4 changed files with 9 additions and 7 deletions

View file

@ -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/";
?>

View file

@ -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/";
?>