]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/loader.php
This debug message was to noisy but it is needed in development (where debug-mode...
[mailer.git] / inc / modules / loader.php
index df5647ff081f0bc40886e0e0c625b1efb75c45bd..3ff6d6d8d7df5efcde4821dcf7225927a754f95a 100644 (file)
@@ -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');
 }