N°8632 - block parameter file from request

This commit is contained in:
Eric Espie
2026-02-20 15:15:17 +01:00
parent cc8d834603
commit 8172673063
10 changed files with 62 additions and 69 deletions

View File

@@ -88,16 +88,16 @@ if (utils::IsModeCLI()) {
$oP = new CLIPage(GetOperationName());
SetupUtils::CheckPhpAndExtensionsForCli($oP);
try {
utils::UseParamFile();
}
catch (Exception $e) {
ExitError($oP, $e->GetMessage());
}
} else {
$oP = new WebPage(GetOperationName());
}
try {
utils::UseParamFile();
} catch (Exception $e) {
ExitError($oP, $e->GetMessage());
}
ExecuteMainOperation($oP);
$oP->output();