33 return hash(
"sha256", self::class);
38 return "Store configuration of Services/Preview";
58 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
63 $this->config->getPathToGhostscript() ??
'' 67 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
78 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
80 return $ini->readVariable(
"tools",
"ghostscript") !== $this->config->getPathToGhostscript();
ilPreviewSetupConfig $config
__construct(\ilPreviewSetupConfig $config)
isApplicable(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
achieve(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.