targets no longer required

This commit is contained in:
2024-10-16 20:08:49 +02:00
parent ec917b4602
commit 5e76b92b96
7 changed files with 51 additions and 49 deletions

View File

@ -2,13 +2,6 @@
include_once 'filter_inputs.php';
if (!$targets) {
http_response_code(400);
$errorMessage = "Valeur incorecte pour le paramètre <var>targets</var> : " . filter_input(INPUT_GET, "targets", FILTER_SANITIZE_FULL_SPECIAL_CHARS);
include_once "options.php";
die();
}
if (!file_exists($SCANSDIR)) mkdir($SCANSDIR);
$args = '';