X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=9e26bddaad8750409e35be027a61977e2533c613;hb=e9d9b430aa90c0519671702ce9fe13fc497451d6;hp=91dc03e9e2bd6163f8f5c75467f20daae2b39560;hpb=03f62d0b89aa9276ac37f4d616d940fae184d850;p=mailer.git diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 91dc03e9e2..9e26bddaad 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -57,6 +57,9 @@ foreach (array('request-functions', 'session-functions', 'config-functions', 'co // Set error handler set_error_handler('__errorHandler'); +// Disable block-mode by default +enableBlockMode(false); + // Init error handler initErrorHandler(); @@ -64,7 +67,7 @@ initErrorHandler(); initRequest(); // Set important header_sent -$GLOBALS['header_sent'] = 0; +if (!isset($GLOBALS['header_sent'])) $GLOBALS['header_sent'] = 0; // Init fatal messages initFatalMessages();