X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=network-vcheck.php;h=ad95e67711de7b093bd48d394d62bf61193a380c;hb=9a672c035f9bfb10aca00be32e1125973e624a58;hp=953e84b086cb2df268cf1c7dff852b6765665d07;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/network-vcheck.php b/network-vcheck.php index 953e84b086..ad95e67711 100644 --- a/network-vcheck.php +++ b/network-vcheck.php @@ -39,7 +39,7 @@ require('inc/libs/security_functions.php'); // Init start time -$GLOBALS['__start_time'] = microtime(true); +$GLOBALS['__start_time'] = microtime(TRUE); // Set module and output mode (raw) $GLOBALS['__module'] = 'network-vcheck'; @@ -48,6 +48,9 @@ $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');