11 return hash(
"sha256", self::class);
16 return "The installation is accessible.";
26 $db_config = $environment->getConfigFor(
"database");
28 new \ilIniFilesPopulatedObjective($this->config),
30 new \ilSettingsFactoryExistsObjective()
36 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
37 $settings =
$factory->settingsFor(
"common");
39 $settings->set(
"setup_ok", 1);
41 $client_ini = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_INI);
43 $client_ini->setVariable(
"client",
"access",
true);
45 if (!$client_ini->write()) {
57 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
58 $settings =
$factory->settingsFor(
"common");
59 $client_ini = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_INI);
62 $settings->get(
"setup_ok") != 1 ||
63 $client_ini->readVariable(
"client",
"access") !=
true
An exception for terminatinating execution or to throw for unit testing.
Signals that some goal won't be achievable by actions of the system ever.
return true
Flag indicating whether or not HTTP headers will be sent when outputting captcha image/audio.
isApplicable(Setup\Environment $environment)
@inheritDoc
achieve(Setup\Environment $environment)
getPreconditions(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...