19declare(strict_types=1);
62 throw new InvalidArgumentException(
63 "Unknown virus scanner: '$virus_scanner'"
72 throw new InvalidArgumentException(
73 'Missing path to scan and/or clean commands for virus scanner.'
87 return preg_replace(
"/\\\\/",
'/', $p);
const VIRUS_SCANNER_ANTIVIR
__construct(string $virus_scanner, ?string $path_to_scan, ?string $path_to_clean, ?string $icap_host, ?string $icap_port, ?string $icap_service_name, ?string $icap_client_path)
const VIRUS_SCANNER_CLAMAV
toLinuxConvention(?string $p)
const VIRUS_SCANNER_SOPHOS
string $icap_service_name
A configuration for the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...