]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/index.php
More fixes from profi-concept for extension loading, guest/member menu and smaller...
[mailer.git] / inc / modules / index.php
index 1ac4b9912201c555477ac536573a69c6802d4e8e..fb602ae72231854e213e43617bc516529b1a321c 100644 (file)
@@ -35,7 +35,7 @@
 if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
-} elseif (!EXT_IS_ACTIVE("sql_patches", true)) {
+} elseif ((!EXT_IS_ACTIVE("sql_patches", true)) && (!IS_ADMIN())) {
        // The extension "sql_patches" *MUST* be activated or you have lot's of problems!
        LOAD_URL("modules.php?module=admin");
 }