X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=agb.php;h=be4e7dca8cdeeb66d291b382f810a2d68c5356ad;hp=3302830217ec27d74238b7f82bf89443b005b406;hb=cca98f57dff720b174d21d071cee8303462485d7;hpb=b56eadb18a023f4d2d712e8936b4dc1ad31fd580;ds=sidebyside diff --git a/agb.php b/agb.php index 3302830217..be4e7dca8c 100644 --- a/agb.php +++ b/agb.php @@ -42,19 +42,16 @@ $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; $GLOBALS['module'] = "agb"; $CSS = -1; // Load the required file(s) -require ("inc/config.php"); +require("inc/config.php"); // Is the script installed? -if (isBooleanConstantAndTrue('mxchange_installed')) -{ +if (isBooleanConstantAndTrue('mxchange_installed')) { // Simply redirect... :-) LOAD_URL("modules.php?module=index&what=agb"); - // Redirection should be done here -} - else -{ - // You have to configure first! +} else { + // You have to install first! LOAD_URL("install.php"); } + // Really all done here... ;-) ?>