targets no longer required

This commit is contained in:
adrien committed 2024-10-16 20:08:49 +02:00
1 parent ec917b4602
commit 5e76b92b96
7 files changed
+51 -49

No files matched your search

-7
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 = '';