18 return hash(
"sha256", self::class);
23 return "Fill ini with common settings";
40 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
42 $ini->setVariable(
"server",
"absolute_path", dirname(__DIR__, 2));
46 $this->config->getServerTimeZone()->getName()
49 $ini->setVariable(
"clients",
"default", $this->config->getClientId());
63 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
66 $ini->readVariable(
"server",
"absolute_path") !== dirname(__DIR__, 2) ||
67 $ini->readVariable(
"server",
"timezone") !== $this->config->getServerTimeZone()->getName() ||
68 $ini->readVariable(
"clients",
"default") !== $this->config->getClientId()
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.
__construct(\ilSetupConfig $config)
getPreconditions(Setup\Environment $environment)
isApplicable(Setup\Environment $environment)
@inheritDoc
achieve(Setup\Environment $environment)
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...