23 return hash(
"sha256", self::class);
28 return "Config for Filesystems did not change.";
46 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
48 $current =
$ini->readVariable(
"clients",
"datadir");
49 $new = $this->config->getDataDir();
50 if ($current !== $new) {
52 "You seem to try to move the ILIAS data-directory from '$current' " .
53 "to '$new', the client.ini.php contains a different path then the " .
54 "config you are using. This is not supported by the setup."
66 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
68 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.
achieve(Setup\Environment $environment)
__construct(\ilFileSystemSetupConfig $config)
getPreconditions(Setup\Environment $environment)
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...