23 protected \ilFileSystemSetupConfig
$config;
33 return hash(
"sha256", self::class);
38 return "Config for Filesystems did not change.";
59 $ini = $environment->getResource(
Setup\Environment::RESOURCE_ILIAS_INI);
61 $current =
$ini->readVariable(
"clients",
"datadir");
62 $new = $this->config->getDataDir();
63 if ($current !== $new) {
64 throw new Setup\UnachievableException(
65 "You seem to try to move the ILIAS data-directory from '$current' " .
66 "to '$new', the client.ini.php contains a different path then the " .
67 "config you are using. This is not supported by the setup." 79 $ini = $environment->getResource(
Setup\Environment::RESOURCE_ILIAS_INI);
81 return $ini->readVariable(
"clients",
"datadir") !== $this->config->getDataDir();
ilFileSystemSetupConfig $config
__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.