Fixed an issue that allowed some disabled module content to be visible or accessible.
This commit is contained in:
@@ -5,6 +5,12 @@ use api\classes\API;
|
||||
if (!defined('APP_INIT')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!$GLOBALS['modules_enabled']['office']) {
|
||||
echo '405 Not Allowed';
|
||||
exit;
|
||||
}
|
||||
|
||||
# IDE Section
|
||||
|
||||
# Includes Section
|
||||
|
||||
Reference in New Issue
Block a user