Undefined variable.

This commit is contained in:
Alexander M. Turek
2004-06-03 12:43:13 +00:00
parent 9dcfce8bb8
commit 14342bd2aa
2 changed files with 7 additions and 4 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-06-03 Alexander M. Turek <me@derrabus.de>
* header.inc.php: Undefined variable.
2004-06-03 Michal Čihař <michal@cihar.com>
* db_details_links.php, header.inc.php, server_links.inc.php,
tbl_properties_links.php, css/phpmyadmin.css.php: Use classes for

View File

@@ -41,7 +41,7 @@ if (empty($GLOBALS['is_header_sent'])) {
*/
$title = '';
if ($cfg['ShowHttpHostTitle']) {
$title .= (empty($cfg['SetHttpHostTitle']) ? $HTTP_HOST : $cfg['SetHttpHostTitle']) . ' >> ';
$title .= (empty($cfg['SetHttpHostTitle']) ? $GLOBALS['HTTP_HOST'] : $cfg['SetHttpHostTitle']) . ' >> ';
}
if (!empty($GLOBALS['cfg']['Server']) && isset($GLOBALS['cfg']['Server']['host'])) {
$title.=str_replace('\'', '\\\'', $GLOBALS['cfg']['Server']['host']);