X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-doubler.php;h=baa342f6129da0965e05a2e4e13ddffa87d4cc5d;hp=26c92b1837c9fe2a8f75c4cfa3a33f90f9c95f10;hb=497d9d8fcda61391c149af3747118bb2772c7c26;hpb=a9a5edafa0c323a7f33d14e0cef9629c940896ff diff --git a/inc/modules/admin/action-doubler.php b/inc/modules/admin/action-doubler.php index 26c92b1837..baa342f612 100644 --- a/inc/modules/admin/action-doubler.php +++ b/inc/modules/admin/action-doubler.php @@ -41,11 +41,12 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { ADD_DESCR("admin", __FILE__); // Load the include file -$INC = sprintf(."%sinc/modules/admin/what-%s.php", PATH, $GLOBALS['what']); +$INC = sprintf("%sinc/modules/admin/what-%s.php", PATH, SQL_ESCAPE($GLOBALS['what'])); if (FILE_READABLE($INC)) { // Ok, we finally load the admin action module include($INC); } else { + // "what file" not found ADD_FATAL(ADMIN_404_ACTION_1.$GLOBALS['what'].ADMIN_404_ACTION_2); }