]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-main.php
A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / modules / guest / action-main.php
index 322ec971f854062d4107954329469e8556144ccb..5feddc567fe2b4c18f3d73e168b1ce700ab1480b 100644 (file)
@@ -45,11 +45,11 @@ ADD_DESCR("guest", __FILE__);
 
 // Load the include file
 $INC = sprintf("inc/modules/guest/what-%s.php", SQL_ESCAPE($GLOBALS['what']));
-if (FILE_READABLE($INC)) {
+if (INCLUDE_READABLE($INC)) {
        // Ok, we finally load the guest action module
        LOAD_INC($INC);
 } else {
-       addFatalMessage(getMessage('GUEST_404_ACTION'), $GLOBALS['what']);
+       addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_ACTION'), $GLOBALS['what']);
 }
 
 //