X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=agb.php;h=19947b5efa804cc9ea0ce819634e81eafd71c774;hb=e0eb0432f1049f2b645a84d964d7d40adc8a11bb;hp=065941cc7ff753a20c707ce37cbf48270f489178;hpb=81bfbcd72e424060ea1223b49ad92fcfa150f361;p=mailer.git 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] ?>