X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view.php;h=0834ed3adc514e1883bdc9e2a9a1d388e641475d;hb=0437f06b273f885db05736449a952c6eb72086ca;hp=f933089bbbc7ce6c190fd12b584ab656129ef0d7;hpb=05e9ddd952a47d42b9970a9d2afef20d77d3aecf;p=mailer.git diff --git a/view.php b/view.php index f933089bbb..0834ed3adc 100644 --- a/view.php +++ b/view.php @@ -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