X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view.php;h=0834ed3adc514e1883bdc9e2a9a1d388e641475d;hb=0437f06b273f885db05736449a952c6eb72086ca;hp=100e3e7b0c2b058c729d3d9e199701834d239363;hpb=7b0f17cd637e388049d2167811e4332cec1e979b;p=mailer.git diff --git a/view.php b/view.php index 100e3e7b0c..0834ed3adc 100644 --- a/view.php +++ b/view.php @@ -36,7 +36,7 @@ * MA 02110-1301 USA * ************************************************************************/ -// Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) +// Load security stuff here require('inc/libs/security_functions.php'); // Init "action" and "what" @@ -48,7 +48,7 @@ $GLOBALS['module'] = 'view'; $GLOBALS['output_mode'] = -1; // Load the required file(s) -require('inc/config.php'); +require('inc/config-global.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); + sendHeader('Content-Type: image/' . $type); redirectToUrl($url, false); } else { // Free memory