3 declare(strict_types=1);
27 return hash(
"sha256", self::class);
32 return "The installation is accessible.";
42 $db_config = $environment->getConfigFor(
"database");
44 new \ilIniFilesPopulatedObjective(),
46 new \ilSettingsFactoryExistsObjective()
52 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
57 $client_ini = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_INI);
59 $client_ini->setVariable(
"client",
"access",
'1');
61 if (!$client_ini->write()) {
62 throw new Setup\UnachievableException(
"Could not write client.ini.php");
73 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
75 $client_ini = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_INI);
79 $client_ini->readVariable(
"client",
"access") != true
achieve(Setup\Environment $environment)
getPreconditions(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.
isApplicable(Setup\Environment $environment)