]> git.mxchange.org Git - mailer.git/blobdiff - agb.php
More language constants rewritten
[mailer.git] / agb.php
diff --git a/agb.php b/agb.php
index 7f020fcd608852c8f032b901ef4e9c05149e1eea..9e82d2d8b65da0bc7a402b2fa1da67e5ec210309 100644 (file)
--- 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_once("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... ;-)
 ?>