X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=img.php;h=15fb090ac9e17093263964bd3753af22ed47e5ee;hp=2e7d46fb9d1f1ca0e75859e5f315b5659db0c14e;hb=cca98f57dff720b174d21d071cee8303462485d7;hpb=d798a412acb8c1263933bd7f7a0fd9aa251495a7;ds=sidebyside diff --git a/img.php b/img.php index 2e7d46fb9d..15fb090ac9 100644 --- a/img.php +++ b/img.php @@ -46,6 +46,9 @@ require("inc/config.php"); // Script installed? if (isBooleanConstantAndTrue('mxchange_installed')) { + // Load header + require_once(PATH."inc/header.php"); + // Code set? if (!empty($_GET['code'])) { // Generate image @@ -63,8 +66,11 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { require($fqfn); } // END - if } + + // Finish generation here + require_once(PATH."inc/footer.php"); } else { - // You have to configure first! + // You have to install first! LOAD_URL("install.php"); }