23 return hash(
"sha256", self::class);
28 return "ILIAS directories are created";
38 $client_id = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_ID);
39 $data_dir = $this->config->getDataDir();
40 $web_dir = dirname(__DIR__, 4) .
"/data";
42 $client_data_dir = $data_dir .
'/' .
$client_id;
60 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
62 $ini->setVariable(
"clients",
"datadir", $this->config->getDataDir());
76 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
78 return $ini->readVariable(
"clients",
"datadir") !== $this->config->getDataDir();
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.
getPreconditions(Setup\Environment $environment)
achieve(Setup\Environment $environment)
__construct(\ilFileSystemSetupConfig $config)
isApplicable(Setup\Environment $environment)
@inheritDoc
An environment holds resources to be used in the setup process.
An objective is a desired state of the system that is supposed to be created by the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...