X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=network-vcheck.php;h=ad95e67711de7b093bd48d394d62bf61193a380c;hp=3d379f4d1930dead7dbe0c5bcabf418ce10cfb8b;hb=596c8ab32594401ca84abfbfe35513ddfff31bec;hpb=3161d70d2c3a86649dd16a7909ec16f801f16e4e diff --git a/network-vcheck.php b/network-vcheck.php index 3d379f4d19..ad95e67711 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:: $ * @@ -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,22 +39,29 @@ 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'); // 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');