]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Nickname login should work now
[mailer.git] / inc / mysql-connect.php
index 91dc03e9e2bd6163f8f5c75467f20daae2b39560..9e26bddaad8750409e35be027a61977e2533c613 100644 (file)
@@ -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();