about PMA_sendHeaderLocation

This commit is contained in:
Marc Delisle
2004-05-11 14:38:02 +00:00
parent 6101163a66
commit ac10dc4aff
2 changed files with 4 additions and 2 deletions

View File

@@ -6,8 +6,8 @@ $Id$
$Source$
2004-05-11 Marc Delisle <lem9@users.sourceforge.net>
* tbl_replace.php, tbl_indexes.php, sql.php, db_details_common.php:
use PMA_sendHeaderLocation()
* tbl_replace.php, tbl_indexes.php, sql.php, db_details_common.php,
libraries/db_table_exists.php: use PMA_sendHeaderLocation()
2004-05-11 Michal Čihař <michal@cihar.com>
* libraries/sqlparser.lib.php: Modified pretty printer to display nicer

View File

@@ -580,6 +580,8 @@ function PMA_auth_set_user()
}
// loic1: workaround against a IIS 5.0 bug
// lem9: here, PMA_sendHeaderLocation() has not yet been defined,
// so use the workaround
if (empty($GLOBALS['SERVER_SOFTWARE'])) {
if (isset($_SERVER) && !empty($_SERVER['SERVER_SOFTWARE'])) {
$GLOBALS['SERVER_SOFTWARE'] = $_SERVER['SERVER_SOFTWARE'];