X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=img.php;h=fb384e8a4460ccb95aa8c6bb289a0a071efdc129;hp=444b1b96f590f6842bda1cdeb13d77e7d99e03de;hb=3f51c40f4fede87228216f9285b745a339e3891d;hpb=0fd6858b423d41e7eee9ffa3d5138d318e08cc1c diff --git a/img.php b/img.php index 444b1b96f5..fb384e8a44 100644 --- a/img.php +++ b/img.php @@ -39,10 +39,6 @@ // Load security stuff here require('inc/libs/security_functions.php'); -// Init "action" and "what" -$GLOBALS['what'] = ''; -$GLOBALS['action'] = ''; - // Set module $GLOBALS['module'] = 'img'; $GLOBALS['output_mode'] = -1; @@ -60,13 +56,13 @@ if (!isInstalled()) { loadIncludeOnce('inc/header.php'); // Code set? -if (REQUEST_ISSET_GET(('code'))) { +if (REQUEST_ISSET_GET('code')) { // Generate image GENERATE_IMAGE(bigintval(REQUEST_GET('code'))); } elseif (REQUEST_ISSET_GET('tag')) { // Tag set so create the IFN (Include-FileName) $INC = sprintf("inc/img/tag-%s.php", - REQUEST_GET('tag') + REQUEST_GET('tag') ); // Include is readable?