Skip to content

Commit 18d61a2

Browse files
committed
lowercase links for phpMyAdmin/phpPgAdmin
1 parent d23fbb9 commit 18d61a2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

web/add/db/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
}
7272
if ((!empty($v_db_email)) && ($return_var == 0)) {
7373
list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]);
74-
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
75-
if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
74+
if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpmyadmin/";
75+
if ($_POST['v_type'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
7676
$to = $v_db_email;
7777
$subject = __("Database Credentials");
7878
$hostname = exec('hostname');

web/templates/admin/list_db.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
}
4646
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
4747
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
48-
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
48+
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpmyadmin/";
4949
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
50-
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
50+
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
5151
?>
5252
<tr class="data-row">
5353
<td class="data-dotted" width="150">

web/templates/user/list_db.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
}
4242
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
4343
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
44-
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
44+
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpmyadmin/";
4545
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
46-
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
46+
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phppgadmin/";
4747
?>
4848
<tr class="data-row">
4949
<td class="data-dotted" width="150">

0 commit comments

Comments
 (0)