X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=view.php;h=304460de25763f318bdd3acbeace9ffa0efb749b;hp=d379f41dc87ae7a312ff3fd0f877d942157a1e1f;hb=a090e351c49fe021fb3064325694da03402332e0;hpb=f212df3d9d1d3c7f8632040130be9e7160980de6 diff --git a/view.php b/view.php index d379f41dc8..304460de25 100644 --- a/view.php +++ b/view.php @@ -37,18 +37,18 @@ ************************************************************************/ // 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" -$GLOBALS['what'] = ""; -$GLOBALS['action'] = ""; +$GLOBALS['what'] = ''; +$GLOBALS['action'] = ''; // Set module -$GLOBALS['module'] = "view"; +$GLOBALS['module'] = 'view'; $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... ;-) @@ -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); - header ("Content-Type: image/".$type); + header ('Content-Type: image/' . $type); 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 - LOAD_URL (URL."/index.php"); + LOAD_URL('index.php'); } // Shutdown