From 0948ef3c6a5a46db5a7862eebb94c6e6f30125ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 6 Oct 2012 22:55:17 +0000 Subject: [PATCH] Added logging for missing 'hash' --- inc/modules/loader.php | 6 ++++++ 1 file changed, 6 insertions(+) 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'); } -- 2.39.2