]> git.mxchange.org Git - mailer.git/blobdiff - modules.php
Several rewrites/renames, fixes for installation. Resolves #104
[mailer.git] / modules.php
index 9cdeacb18ad9d6b635626caf9cd1152ca0b2124a..a56acc311ba784f7c096935c48150511515c9016 100644 (file)
@@ -100,7 +100,7 @@ if ((getConfig('maintenance') == "Y") && (!IS_ADMIN()) && ($GLOBALS['module'] !=
        define('__MODULE', sprintf("inc/modules/%s.php", SQL_ESCAPE($GLOBALS['module'])));
 
        // Did we found the module listed in allowed modules and are we successfully connected?
-       $check = CHECK_MODULE($GLOBALS['module']);
+       $check = checkModulePermissions($GLOBALS['module']);
        switch ($check)
        {
        case "admin_only":