projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f81f03
)
Rewritten
author
Roland Häder
<roland@mxchange.org>
Sun, 1 Mar 2009 00:10:58 +0000
(
00:10
+0000)
committer
Roland Häder
<roland@mxchange.org>
Sun, 1 Mar 2009 00:10:58 +0000
(
00:10
+0000)
click.php
patch
|
blob
|
history
modules.php
patch
|
blob
|
history
diff --git
a/click.php
b/click.php
index 342977a17577b370392d7ecda9b90c0713bdb898..c1f01861d6c25f965912876d46a93d06e8857d71 100644
(file)
--- a/
click.php
+++ b/
click.php
@@
-39,7
+39,8
@@
$GLOBALS['what'] = "";
$GLOBALS['action'] = "";
// Set module
$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");
// Load the required file(s)
require("inc/config.php");
diff --git
a/modules.php
b/modules.php
index 3a95d923ba0e1db9193fbacde8d79f92632cdb90..5a372e0fc40bc68f76c8aba021783bbcc9550ef3 100644
(file)
--- a/
modules.php
+++ b/
modules.php
@@
-44,6
+44,9
@@
$GLOBALS['what'] = "";
$GLOBALS['action'] = "";
$GLOBALS['userid'] = 0;
$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");
// 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'));
// 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
// Check if logged in
if (IS_MEMBER()) {
// Is still logged in so we welcome him with his name