22 return hash(
"sha256", self::class);
27 return "Fill ini with settings for Services/VirusScanner";
37 $common_config = $environment->getConfigFor(
"common");
45 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
47 $ini->setVariable(
"tools",
"vscantype", $this->config->getVirusScanner());
48 $ini->setVariable(
"tools",
"scancommand", $this->config->getPathToScan());
49 $ini->setVariable(
"tools",
"cleancommand", $this->config->getPathToClean());
52 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
getPreconditions(Setup\Environment $environment)
achieve(Setup\Environment $environment)
An environment holds resources to be used in the setup process.
__construct(\ilVirusScannerSetupConfig $config)