]> git.mxchange.org Git - mailer.git/blobdiff - view.php
config.php partly solved, see #117
[mailer.git] / view.php
index f933089bbbc7ce6c190fd12b584ab656129ef0d7..0834ed3adc514e1883bdc9e2a9a1d388e641475d 100644 (file)
--- 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