19declare(strict_types=1);
32 public const BASE_DIR =
'./src/FileDelivery/artifacts/base_dir.php';
46 $base_dir = $ilias_ini->readVariable(
'clients',
'datadir');
47 $client_id = $ilias_ini->readVariable(
'clients',
'default');
49 $this->data[
'base_dir'] = rtrim(rtrim($base_dir,
'/') .
'/' .
$client_id,
'/') .
'/';
52 return $this->
build();
69 new \ilIniFilesLoadedObjective(),
73 public static function get(): ?
string
81 if (is_readable(self::PATH())) {
85 return $base =
$data[
'base_dir'] ??
null;
buildIn(Environment $env)
getPreconditions(Environment $environment)
Objectives might depend on other objectives.
INI file parser — compatibility wrapper.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
An environment holds resources to be used in the setup process.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.