Minor rewrites to sending pools
[mailer.git] / img.php
diff --git a/img.php b/img.php
index 2e7d46fb9d1f1ca0e75859e5f315b5659db0c14e..09cafe5146de8bc60609fdd19009d34073a20158 100644 (file)
--- a/img.php
+++ b/img.php
@@ -46,6 +46,9 @@ require("inc/config.php");
 
 // Script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
 
 // Script installed?
 if (isBooleanConstantAndTrue('mxchange_installed')) {
+       // Load header
+       require_once(PATH."inc/header.php");
+
        // Code set?
        if (!empty($_GET['code'])) {
                // Generate image
        // Code set?
        if (!empty($_GET['code'])) {
                // Generate image
@@ -63,6 +66,9 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                        require($fqfn);
                } // END - if
        }
                        require($fqfn);
                } // END - if
        }
+
+       // Finish generation here
+       require_once(PATH."inc/footer.php");
 } else {
        // You have to configure first!
        LOAD_URL("install.php");
 } else {
        // You have to configure first!
        LOAD_URL("install.php");