Added more wrapper, commented out another noisy debug line
[mailer.git] / network-vcheck.php
index 49e36aa69c447dd2b77ae0df5dc492e613407234..3bb6ff5734343251b2d2361cff391e97a7204aed 100644 (file)
@@ -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 *
 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'] = -1;
+// 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');