X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=network-vcheck.php;h=ce7a708a55a4d677f9b7614a6a0d326ecd9363fc;hp=49e36aa69c447dd2b77ae0df5dc492e613407234;hb=150ed402878985508f10f4e06d25831e0fb3a1f8;hpb=c0492f72cb322af878f09f745dfd6a65b45da555 diff --git a/network-vcheck.php b/network-vcheck.php index 49e36aa69c..ce7a708a55 100644 --- a/network-vcheck.php +++ b/network-vcheck.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : VCheck Script fuer Erweiterung ext-network * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 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,29 +34,32 @@ 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'); +loadPageHeader(); // Is the required extension installed? -if (isExtensionInstalled('network')) { +if ((isExtensionInstalled('network')) && (countRequestGet() > 0)) { // It is installed, so handle the request handleNetworkPaymentCheckRequest(); } // END - if // Load footer -loadIncludeOnce('inc/footer.php'); +loadPageFooter(); // [EOF] ?>