X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=agb.php;h=be4e7dca8cdeeb66d291b382f810a2d68c5356ad;hp=c9c2654fc8c2c8320478de57cdc57b307ef10c62;hb=3608f72d51e8126720024704398cf738e61f890b;hpb=58b29a924c48e7c1ce38c435c92e541b53984c56 diff --git a/agb.php b/agb.php index c9c2654fc8..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 (defined('mxchange_installed') && (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... ;-) ?>