mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
lowercase links for phpMyAdmin/phpPgAdmin
This commit is contained in:
parent
d23fbb9ddc
commit
18d61a29b2
3 changed files with 6 additions and 6 deletions
|
@ -71,8 +71,8 @@ if (!empty($_POST['ok'])) {
|
||||||
}
|
}
|
||||||
if ((!empty($v_db_email)) && ($return_var == 0)) {
|
if ((!empty($v_db_email)) && ($return_var == 0)) {
|
||||||
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
|
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
|
||||||
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
|
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpmyadmin/";
|
||||||
if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
|
if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
|
||||||
$to = $v_db_email;
|
$to = $v_db_email;
|
||||||
$subject = __("Database Credentials");
|
$subject = __("Database Credentials");
|
||||||
$hostname = exec('hostname');
|
$hostname = exec('hostname');
|
||||||
|
|
|
@ -45,9 +45,9 @@
|
||||||
}
|
}
|
||||||
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 = "http://".$http_host."/phpmyadmin/";
|
||||||
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/";
|
||||||
?>
|
?>
|
||||||
<tr class="data-row">
|
<tr class="data-row">
|
||||||
<td class="data-dotted" width="150">
|
<td class="data-dotted" width="150">
|
||||||
|
|
|
@ -41,9 +41,9 @@
|
||||||
}
|
}
|
||||||
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 = "http://".$http_host."/phpmyadmin/";
|
||||||
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/";
|
||||||
?>
|
?>
|
||||||
<tr class="data-row">
|
<tr class="data-row">
|
||||||
<td class="data-dotted" width="150">
|
<td class="data-dotted" width="150">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue