X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=autoreg.php;h=aa1f7d8404f6a6ab17bcc23070a01f17144671f2;hb=87342ad9d6400e1a819d6179696da412acb7c6e7;hp=de3548d39987575e2a4e7baf6d16d0f85c68ffbe;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/autoreg.php b/autoreg.php index de3548d399..aa1f7d8404 100644 --- a/autoreg.php +++ b/autoreg.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,12 +39,16 @@ require('inc/libs/security_functions.php'); // Init start time -$GLOBALS['__start_time'] = microtime(true); +$GLOBALS['__start_time'] = microtime(TRUE); -// Set module +/* + * Set output to "AJAX mode", proper module and prevent HTML headers/footers + * being sent. + */ +$GLOBALS['__output_mode'] = -2; $GLOBALS['__module'] = 'autoreg'; -$GLOBALS['__output_mode'] = 1; -$GLOBALS['__header_sent'] = 3; +$GLOBALS['__header_sent'] = 2; +$GLOBALS['__footer_sent'] = 2; // Load the required file(s) require('inc/config-global.php');