From: quix0r Date: Sat, 6 Oct 2012 22:55:17 +0000 (+0000) Subject: Added logging for missing 'hash' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2beb339ceb910ec80c49529b703917ad2581a653;p=mailer.git Added logging for missing 'hash' --- diff --git a/inc/modules/loader.php b/inc/modules/loader.php index df5647ff08..3ff6d6d8d7 100644 --- 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'); }