* -------------------------------------------------------------------- *
* 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:: $ *
$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');
// 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');