$GLOBALS['module'] = "img"; $CSS = -1;
// Load the required file(s)
-require ("inc/config.php");
+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
require($fqfn);
} // END - if
}
+
+ // Finish generation here
+ require_once(PATH."inc/footer.php");
} else {
// You have to configure first!
LOAD_URL("install.php");
}
// Really all done here... ;-)
-die();
-
-//
?>