projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75cd76d
)
Added logging for missing 'hash'
author
Roland Häder
<roland@mxchange.org>
Sat, 6 Oct 2012 22:55:17 +0000
(22:55 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 6 Oct 2012 22:55:17 +0000
(22:55 +0000)
inc/modules/loader.php
patch
|
blob
|
history
diff --git
a/inc/modules/loader.php
b/inc/modules/loader.php
index df5647ff081f0bc40886e0e0c625b1efb75c45bd..3ff6d6d8d7df5efcde4821dcf7225927a754f95a 100644
(file)
--- a/
inc/modules/loader.php
+++ b/
inc/modules/loader.php
@@
-63,6
+63,12
@@
if ((isGetRequestElementSet('url')) && (isGetRequestElementSet('hash'))) {
redirectToUrl('modules.php?module=index');
}
} else {
+ // Is the hash not provided?
+ if (!isGetRequestElementSet('hash')) {
+ // Very old (external!) call
+ logDebugMessage(__FUNCTION__, __LINE__, 'Possible old call on loader.php detected. Redirecting to index.php anyway ...');
+ } // END - if
+
// Invalid or no URL entered!
redirectToUrl('modules.php?module=index');
}