]> git.mxchange.org Git - mailer.git/blobdiff - img.php
Heavy rewrite:
[mailer.git] / img.php
diff --git a/img.php b/img.php
index 444b1b96f590f6842bda1cdeb13d77e7d99e03de..fb384e8a4460ccb95aa8c6bb289a0a071efdc129 100644 (file)
--- a/img.php
+++ b/img.php
 // 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?