3 declare(strict_types=1);
38 return hash(
"sha256", self::class);
43 return "Store configuration of Services/Utilities";
60 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
62 $ini->setVariable(
"tools",
"convert", $this->config->getPathToConvert());
63 $ini->setVariable(
"tools",
"zip", $this->config->getPathToZip());
64 $ini->setVariable(
"tools",
"unzip", $this->config->getPathToUnzip());
67 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
78 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
81 $ini->readVariable(
"tools",
"convert") !== $this->config->getPathToConvert() ||
82 $ini->readVariable(
"tools",
"zip") !== $this->config->getPathToZip() ||
83 $ini->readVariable(
"tools",
"unzip") !== $this->config->getPathToUnzip();
isApplicable(Setup\Environment $environment)
ilUtilitiesSetupConfig $config
__construct(ilUtilitiesSetupConfig $config)
getPreconditions(Setup\Environment $environment)
Stores configuration for the Utilities service (paths to various tools) in the according ini-fields...
achieve(Setup\Environment $environment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.