lowercase links for phpMyAdmin/phpPgAdmin

This commit is contained in:
Serghey Rodin 2013-06-25 17:09:24 +03:00
commit 18d61a29b2
3 changed files with 6 additions and 6 deletions

View file

@ -71,8 +71,8 @@ if (!empty($_POST['ok'])) {
}
if ((!empty($v_db_email)) && ($return_var == 0)) {
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
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'] == 'mysql') $db_admin_link = "http://".$http_host."/phpmyadmin/";
if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
$to = $v_db_email;
$subject = __("Database Credentials");
$hostname = exec('hostname');