From: Roland Häder Date: Sun, 1 Mar 2009 00:10:58 +0000 (+0000) Subject: Rewritten X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=3e49938396ad0b4af9919363e5adcf0d713acf81 Rewritten --- diff --git a/click.php b/click.php index 342977a175..c1f01861d6 100644 --- a/click.php +++ b/click.php @@ -39,7 +39,8 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; // Set module -$GLOBALS['module'] = "click"; $GLOBALS['output_mode'] = -1; +$GLOBALS['module'] = "click"; +$GLOBALS['output_mode'] = -1; // Load the required file(s) require("inc/config.php"); diff --git a/modules.php b/modules.php index 3a95d923ba..5a372e0fc4 100644 --- a/modules.php +++ b/modules.php @@ -44,6 +44,9 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; $GLOBALS['userid'] = 0; +// Needed include files +require("inc/config.php"); + // Fix missing module to "index" if (!REQUEST_ISSET_GET(('module'))) REQUEST_SET_GET('module', "index"); @@ -54,9 +57,6 @@ if (REQUEST_ISSET_GET(('what'))) $GLOBALS['what'] = secureString(REQUEST_GET // Secure the module name (very important line!) $GLOBALS['module'] = secureString(REQUEST_GET('module')); -// Needed include files -require("inc/config.php"); - // Check if logged in if (IS_MEMBER()) { // Is still logged in so we welcome him with his name