X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=modules.php;h=ade12602091f1f9626d83c713a77fa6c401da7e8;hp=0d26db9cf0367e5f4f55f78e8f9dc4b55c09443e;hb=f928ad2bed60fa256d0641eaf6d2c027a2944688;hpb=a38de258ffd36319f8b8338fa057957c205d89e3 diff --git a/modules.php b/modules.php index 0d26db9cf0..ade1260209 100644 --- a/modules.php +++ b/modules.php @@ -60,6 +60,8 @@ loadIncludeOnce('inc/header.php'); // Modules are by default not valid! $isModuleValid = false; $check = 'failed'; + +// Is the maintenance mode active or goes all well? if ((getConfig('maintenance') == 'Y') && (!IS_ADMIN()) && (getModule() != 'admin')) { // Maintain mode is active and you are no admin addFatalMessage(__FILE__, __LINE__, getMessage('LANG_DOWN_MAINTAINCE'));