]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-sponsor.php
Obsolete direct links to my server removed, patch support deactivated in what-updates.php
[mailer.git] / inc / modules / admin / action-sponsor.php
index a841ef6d326eb50e156db27d2023dea8732a270f..58b58b5edf48e5bfb1d38c2c4faf2ef5a3c2a456 100644 (file)
@@ -42,11 +42,11 @@ ADD_DESCR("admin", basename(__FILE__));
 
 // Load the include file
 $INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']);
-if (file_exists($INC)) {
+if (FILE_READABLE($INC)) {
        // Ok, we finally load the admin action module
        include($INC);
 } else {
-       $FATAL[] = ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2;
+       ADD_FATAL(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2);
 }
 //
 ?>