X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=modules.php;h=2eb272b2be3a3061a5afadc62d8a01efa6f47ad3;hp=ade12602091f1f9626d83c713a77fa6c401da7e8;hb=24d88ff55d8797b8624ed0efb6cdfb3cd1e2fa68;hpb=61dec4b03dbfb49cbbeb19628d966c6e34f3b59a diff --git a/modules.php b/modules.php index ade1260209..2eb272b2be 100644 --- a/modules.php +++ b/modules.php @@ -62,7 +62,7 @@ loadIncludeOnce('inc/header.php'); $isModuleValid = false; $check = 'failed'; // Is the maintenance mode active or goes all well? -if ((getConfig('maintenance') == 'Y') && (!IS_ADMIN()) && (getModule() != 'admin')) { +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)) {