X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=network-vcheck.php;h=ad95e67711de7b093bd48d394d62bf61193a380c;hb=558e3a9d99bde2d7ad0a7e2ea7930dee5163d4d9;hp=ce15b4427e652a1e47d14c6c6b0aa6db866eeba3;hpb=0bf269e4e23914d73991dda245948d651ab2c2d9;p=mailer.git diff --git a/network-vcheck.php b/network-vcheck.php index ce15b4427e..ad95e67711 100644 --- a/network-vcheck.php +++ b/network-vcheck.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,15 +39,18 @@ require('inc/libs/security_functions.php'); // Init start time -$GLOBALS['startTime'] = microtime(true); +$GLOBALS['__start_time'] = microtime(TRUE); -// Set module -$GLOBALS['__module'] = 'network-vcheck'; -$GLOBALS['output_mode'] = '0'; +// Set module and output mode (raw) +$GLOBALS['__module'] = 'network-vcheck'; +$GLOBALS['__output_mode'] = -1; // Load the required file(s) require('inc/config-global.php'); +// Set HTTP status to 500 (if ext-network is not found, but this script is called) +setHttpStatus('500 Internal Server Error'); + // Set content type setContentType('text/plain');