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) {
51 throw new Setup\UnachievableException(
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();
__construct(\ilFileSystemSetupConfig $config)
achieve(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
isApplicable(Setup\Environment $environment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.