<?php
/************************************************************************
- * MXChange v0.2.1 Start: 08/25/2003 *
- * =============== Last change: 07/01/2005 *
+ * Mailer v0.2.1-FINAL Start: 08/25/2003 *
+ * =================== Last change: 07/01/2005 *
* *
* -------------------------------------------------------------------- *
* File : modules.php *
// Init output mode and module
$GLOBALS['output_mode'] = '0';
-$GLOBALS['module'] = '';
+$GLOBALS['module'] = 'unknown';
// Needed include files
require('inc/config-global.php');
setContentType('text/html');
// Fix missing module to 'index'
-if (!isGetRequestElementSet('module')) setRequestGetElement('module', 'index');
+if (!isGetRequestElementSet('module')) {
+ // Set element
+ setRequestGetElement('module', 'index');
+
+ // ... and module
+ setModule('index');
+} // END - if
// The header file
loadIncludeOnce('inc/header.php');