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