mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-23 06:35:56 -07:00
Update list_db.html
changed http to https in line 45 its better to browse phpmyadmin in a secured connection
This commit is contained in:
parent
179cca9566
commit
39e34c13c1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
}
|
}
|
||||||
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
|
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 = "phpMyAdmin";
|
||||||
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpmyadmin/";
|
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "https://".$http_host."/phpmyadmin/";
|
||||||
if (($data[$key]['TYPE'] == 'mysql') && (!empty($sys['config']['DB_PMA_URL']))) $db_admin_link = $sys['config']['DB_PMA_URL'];
|
if (($data[$key]['TYPE'] == 'mysql') && (!empty($sys['config']['DB_PMA_URL']))) $db_admin_link = $sys['config']['DB_PMA_URL'];
|
||||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
|
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
|
||||||
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
|
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue