11 return hash(
"sha256", self::class);
16 return "The ilias.ini.php and client.ini.php are populated.";
30 new \ilOverwritesExistingInstallationConfirmed($this->config),
31 new Setup\DirectoryCreatedObjective(dirname(__DIR__, 2) .
"/data"),
32 new Setup\DirectoryCreatedObjective($this->
getClientDir()),
33 new Setup\CanCreateFilesInDirectoryCondition($this->
getClientDir()),
34 new Setup\CanCreateFilesInDirectoryCondition(dirname(__DIR__, 2)),
40 $path = dirname(__DIR__, 2) .
"/ilias.ini.php";
42 $ini->GROUPS = parse_ini_file(__DIR__ .
"/../ilias.master.ini.php",
true);
47 $client_ini->GROUPS = parse_ini_file(__DIR__ .
"/../client.master.ini.php",
true);
51 ->withResource(Setup\Environment::RESOURCE_ILIAS_INI,
$ini)
52 ->withResource(Setup\Environment::RESOURCE_CLIENT_INI, $client_ini);
57 return dirname(__DIR__, 2) .
"/data/" . $this->config->getClientId();
getPreconditions(Setup\Environment $environment)
achieve(Setup\Environment $environment)
An environment holds resources to be used in the setup process.