68 throw new \InvalidArgumentException(
69 "Unknown virus scanner: '$virus_scanner'"
78 throw new \InvalidArgumentException(
79 "Missing path to scan and/or clean commands for virus scanner."
92 return preg_replace(
"/\\\\/",
"/", $p);
An exception for terminatinating execution or to throw for unit testing.
A password is used as part of credentials for authentication.
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
A configuration for the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...