Use rather _SERVER than GLOBALS, should fix bug #973602.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2004-06-16 Michal Čihař <michal@cihar.com>
|
||||
* header.inc.php: Use rather _SERVER than GLOBALS, should fix bug #973602.
|
||||
|
||||
2004-06-15 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* queryframe.php: undefined $cfgRelation, thanks to Michael Keck (mkkeck)
|
||||
* export.php, sql.php, db_details_importdocsql.php, ldi_check.php,
|
||||
|
@@ -41,7 +41,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
||||
*/
|
||||
$title = '';
|
||||
if ($cfg['ShowHttpHostTitle']) {
|
||||
$title .= (empty($GLOBALS['cfg']['SetHttpHostTitle']) ? $GLOBALS['HTTP_HOST'] : $GLOBALS['cfg']['SetHttpHostTitle']) . ' >> ';
|
||||
$title .= (empty($GLOBALS['cfg']['SetHttpHostTitle']) ? $_SERVER['HTTP_HOST'] : $GLOBALS['cfg']['SetHttpHostTitle']) . ' >> ';
|
||||
}
|
||||
if (!empty($GLOBALS['cfg']['Server']) && isset($GLOBALS['cfg']['Server']['host'])) {
|
||||
$title.=str_replace('\'', '\\\'', $GLOBALS['cfg']['Server']['host']);
|
||||
|
Reference in New Issue
Block a user