X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=network-vcheck.php;h=a21f50ea99b6e72319a266767a0bfc74d4a7f3a2;hb=a5589c62c1dbec62d13cafd8a485e2b401ded159;hp=ad95e67711de7b093bd48d394d62bf61193a380c;hpb=596c8ab32594401ca84abfbfe35513ddfff31bec;p=mailer.git diff --git a/network-vcheck.php b/network-vcheck.php index ad95e67711..a21f50ea99 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 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -45,8 +40,8 @@ $GLOBALS['__start_time'] = microtime(TRUE); $GLOBALS['__module'] = 'network-vcheck'; $GLOBALS['__output_mode'] = -1; -// Load the required file(s) -require('inc/config-global.php'); +// Initialize application +require('inc/init.php'); // Set HTTP status to 500 (if ext-network is not found, but this script is called) setHttpStatus('500 Internal Server Error'); @@ -55,16 +50,16 @@ setHttpStatus('500 Internal Server Error'); 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] ?>