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

@@ -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'];