18 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
23 $virus_scanner =
$ini->readVariable(
"tools",
"vscantype");
24 $storage->storeConfigText(
27 "The engine that is used for virus scanning."
31 $storage->storeConfigText(
33 $ini->readVariable(
"tools",
"icap_client_path"),
34 "The configured ICAP client path."
36 $storage->storeConfigText(
38 $ini->readVariable(
"tools",
"icap_host"),
39 "The configured ICAP host."
41 $storage->storeConfigText(
43 $ini->readVariable(
"tools",
"icap_port"),
44 "The configured ICAP port."
46 $storage->storeConfigText(
48 $ini->readVariable(
"tools",
"icap_service_name"),
49 "The configured ICAP service name."
51 } elseif (is_string($virus_scanner) &&
52 $virus_scanner !==
'' &&
54 $storage->storeConfigText(
56 $ini->readVariable(
"tools",
"scancommand"),
57 "The path to the binary that is used for virus scanning."
59 $storage->storeConfigText(
61 $ini->readVariable(
"tools",
"cleancommand"),
62 "The path to the binary that is used for cleaning up after virus scanning."
An exception for terminatinating execution or to throw for unit testing.
collectFrom(Setup\Environment $environment, Setup\Metrics\Storage $storage)
getTentativePreconditions(Setup\Environment $environment)
An environment holds resources to be used in the setup process.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...