Renamed templates + added some filters for mail order
[mailer.git] / network-vcheck.php
index 3bb6ff5734343251b2d2361cff391e97a7204aed..e18e81a16bcf7248f8ff912be0fb35be1d9cc3ae 100644 (file)
@@ -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,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';
@@ -58,7 +58,7 @@ setContentType('text/plain');
 loadIncludeOnce('inc/header.php');
 
 // Is the required extension installed?
-if (isExtensionInstalled('network')) {
+if ((isExtensionInstalled('network')) && (countRequestGet() > 0)) {
        // It is installed, so handle the request
        handleNetworkPaymentCheckRequest();
 } // END - if