X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=network-vcheck.php;h=ce15b4427e652a1e47d14c6c6b0aa6db866eeba3;hp=b3ccf6f96c8bb441971ad53e0ef3be8fc10d0086;hb=bc78f4e9fa9a786b6258537c6866106a77e09f54;hpb=acb7646c01622aafbe3025c25e4caae4f3f73eca diff --git a/network-vcheck.php b/network-vcheck.php index b3ccf6f96c..ce15b4427e 100644 --- a/network-vcheck.php +++ b/network-vcheck.php @@ -8,7 +8,7 @@ * -------------------------------------------------------------------- * * Short description : Payment check script for extension ext-network * * -------------------------------------------------------------------- * - * Kurzbeschreibung : V-Check Script fuer Erweiterung ext-network * + * Kurzbeschreibung : VCheck Script fuer Erweiterung ext-network * * -------------------------------------------------------------------- * * $Revision:: $ * * $Date:: $ * @@ -38,9 +38,12 @@ // Load security stuff here require('inc/libs/security_functions.php'); +// Init start time +$GLOBALS['startTime'] = microtime(true); + // Set module -$GLOBALS['module'] = 'network-vcheck'; -$GLOBALS['output_mode'] = -1; +$GLOBALS['__module'] = 'network-vcheck'; +$GLOBALS['output_mode'] = '0'; // Load the required file(s) require('inc/config-global.php'); @@ -51,7 +54,11 @@ setContentType('text/plain'); // Load header loadIncludeOnce('inc/header.php'); -// @TODO Add processing of request here +// Is the required extension installed? +if (isExtensionInstalled('network')) { + // It is installed, so handle the request + handleNetworkPaymentCheckRequest(); +} // END - if // Load footer loadIncludeOnce('inc/footer.php');