X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=agb.php;h=19947b5efa804cc9ea0ce819634e81eafd71c774;hp=065941cc7ff753a20c707ce37cbf48270f489178;hb=27cffdf12876899294d61de9cdc0f4f3d20d1eb4;hpb=81bfbcd72e424060ea1223b49ad92fcfa150f361 diff --git a/agb.php b/agb.php index 065941cc7f..19947b5efa 100644 --- a/agb.php +++ b/agb.php @@ -39,10 +39,6 @@ // Load security stuff here require('inc/libs/security_functions.php'); -// Init "action" and "what" -$GLOBALS['what'] = ''; -$GLOBALS['action'] = ''; - // Set module $GLOBALS['module'] = 'agb'; $GLOBALS['output_mode'] = -1; @@ -51,16 +47,13 @@ $GLOBALS['output_mode'] = -1; require('inc/config-global.php'); // Is the script installed? -if (isInstalled()) { - // Simply redirect... :-) - redirectToUrl('modules.php?module=index&what=agb'); -} else { +if (!isInstalled()) { // You have to install first! redirectToUrl('install.php'); -} +} // END - if -// Really all done here... ;-) -shutdown(); +// Simply redirect... :-) +redirectToUrl('modules.php?module=index&what=agb'); -// +// [EOF] ?>