mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-12 20:44:14 +01:00
Exclude specific itop modules from being executed through exec.php
This commit is contained in:
@@ -87,7 +87,7 @@ if (is_link($sPageEnvFullPath)) {
|
||||
}
|
||||
$sTargetPage = CheckPageExists($sPageEnvFullPath, $aPossibleBasePaths);
|
||||
|
||||
if ($sTargetPage === false) {
|
||||
if ($sTargetPage === false || $sModule === 'core' || $sModule === 'dictionaries') {
|
||||
// Do not recall the page parameters (security takes precedence)
|
||||
echo "Wrong module, page name or environment...";
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user