]> git.mxchange.org Git - mailer.git/blobdiff - view.php
A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / view.php
index d379f41dc87ae7a312ff3fd0f877d942157a1e1f..304460de25763f318bdd3acbeace9ffa0efb749b 100644 (file)
--- a/view.php
+++ b/view.php
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require("inc/libs/security_functions.php");
+require('inc/libs/security_functions.php');
 
 // Init "action" and "what"
 
 // Init "action" and "what"
-$GLOBALS['what'] = "";
-$GLOBALS['action'] = "";
+$GLOBALS['what'] = '';
+$GLOBALS['action'] = '';
 
 // Set module
 
 // Set module
-$GLOBALS['module'] = "view";
+$GLOBALS['module'] = 'view';
 $GLOBALS['output_mode'] = -1;
 
 // Load the required file(s)
 $GLOBALS['output_mode'] = -1;
 
 // Load the required file(s)
-require("inc/config.php");
+require('inc/config.php');
 
 if (((REQUEST_ISSET_GET(('user'))) || (REQUEST_ISSET_GET(('reseller')))) && (REQUEST_ISSET_GET(('banner')))) {
        // for later things... ;-)
 
 if (((REQUEST_ISSET_GET(('user'))) || (REQUEST_ISSET_GET(('reseller')))) && (REQUEST_ISSET_GET(('banner')))) {
        // for later things... ;-)
@@ -61,7 +61,7 @@ if (((REQUEST_ISSET_GET(('user'))) || (REQUEST_ISSET_GET(('reseller')))) && (REQ
                        array(bigintval(REQUEST_GET('banner'))), __FILE__, __LINE__);
 
                $type = substr($url, -3);
                        array(bigintval(REQUEST_GET('banner'))), __FILE__, __LINE__);
 
                $type = substr($url, -3);
-               header ("Content-Type: image/".$type);
+               header ('Content-Type: image/' . $type);
                LOAD_URL($url, false);
        } else {
                // Free memory
                LOAD_URL($url, false);
        } else {
                // Free memory
@@ -69,7 +69,7 @@ if (((REQUEST_ISSET_GET(('user'))) || (REQUEST_ISSET_GET(('reseller')))) && (REQ
        }
 } else {
        // Do nothing for now
        }
 } else {
        // Do nothing for now
-       LOAD_URL (URL."/index.php");
+       LOAD_URL('index.php');
 }
 
 // Shutdown
 }
 
 // Shutdown