19declare(strict_types=1);
33 return hash(
"sha256", self::class);
38 return "Fill ini with common settings";
55 $ini = $environment->getResource(
Setup\Environment::RESOURCE_ILIAS_INI);
57 $ini->setVariable(
"server",
"absolute_path", dirname(__DIR__, 4));
61 $this->config->getServerTimeZone()->getName()
64 $ini->setVariable(
"clients",
"default", (
string) $this->config->getClientId());
78 $ini = $environment->getResource(
Setup\Environment::RESOURCE_ILIAS_INI);
81 $ini->readVariable(
"server",
"absolute_path") !== dirname(__DIR__, 4) ||
82 $ini->readVariable(
"server",
"timezone") !== $this->config->getServerTimeZone()->getName() ||
83 $ini->readVariable(
"clients",
"default") !== (string) $this->config->getClientId()
Signals that some goal won't be achievable by actions of the system ever.
getPreconditions(Setup\Environment $environment)
isApplicable(Setup\Environment $environment)
@inheritDoc
achieve(Setup\Environment $environment)
__construct(Setup\Config $config)
A configuration for the setup.
An environment holds resources to be used in the setup process.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...