This commit is contained in:
Alexander M. Turek
2002-04-27 19:52:19 +00:00
parent abca631b1a
commit 52b52a30b3
2 changed files with 7 additions and 0 deletions

View File

@@ -159,6 +159,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
{
if (empty($GLOBALS['is_header_sent'])) {
// rabus: If we include header.inc.php3 here, we get a huge set of
// "Undefined variable" errors (see bug #549570)!
include('./header.inc.php3');
}
@@ -430,6 +432,9 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
. $cfg['Server']['host'] . $server_port . $server_socket . ', '
. $cfg['Server']['controluser'] . ', '
. $cfg['Server']['controlpass'] . ')';
if (empty($GLOBALS['is_header_sent'])) {
include('./header.inc.php3');
}
PMA_mysqlDie($conn_error, $local_query, FALSE);
} // end if
} // end if