propper pma link to remote host

This commit is contained in:
Serghey Rodin 2013-02-08 11:07:56 +02:00
commit a0df116629
2 changed files with 2 additions and 0 deletions

View file

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

View file

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