X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=img.php;h=8710bd0ba13a908deb43f2d398fa250c59e83645;hp=94878c19a323a5083df6d0425ad5b3308d65c34f;hb=f8a2f0c9d334d87fdaf8f010678ca5ad8b95211f;hpb=75ad748a68473ace540251427a74fb781b1145e9 diff --git a/img.php b/img.php index 94878c19a3..8710bd0ba1 100644 --- a/img.php +++ b/img.php @@ -37,8 +37,6 @@ require_once("inc/libs/security_functions.php"); // Init "action" and "what" global $what, $action; $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; -if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']); -if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']); // Set module $GLOBALS['module'] = "img"; $CSS = -1; @@ -46,7 +44,7 @@ $GLOBALS['module'] = "img"; $CSS = -1; // Load the required file(s) require ("inc/config.php"); -if (defined('mxchange_installed') && (mxchange_installed)) +if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed'))) { if (!empty($_GET['code'])) {