rescan named scan

This commit is contained in:
2025-02-05 21:09:14 +01:00
parent 72396e5071
commit 4e0a723ef0
12 changed files with 465 additions and 306 deletions

View File

@ -10,7 +10,7 @@ $fileNameRegex = '/^[^<>:\/|?]+$/';
$name = filter_input(INPUT_GET, 'name', FILTER_VALIDATE_REGEXP, ['options' => ['regexp' => $fileNameRegex], "flags" => FILTER_NULL_ON_FAILURE]);
if (!$name) {
die("Paramètre manquant : name");
die("Paramètre manquant ou incorrect : name");
}
$path = "$SCANSDIR/$name.xml";