Skip to content

Commit a0df116

Browse files
committed
propper pma link to remote host
1 parent 53638e0 commit a0df116

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

web/templates/admin/list_db.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
$status = 'active';
4343
$spnd_action = 'suspend' ;
4444
}
45+
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
4546
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
4647
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
4748
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";

web/templates/user/list_db.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
$status = 'active';
4141
$spnd_action = 'suspend' ;
4242
}
43+
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
4344
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
4445
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
4546
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";

0 commit comments

Comments
 (0)