22        return hash(
"sha256", self::class);
 
   27        return "Store configuration of Services/Http";
 
   39            new \ilSettingsFactoryExistsObjective()
 
   45        $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
 
   47        $ini->setVariable(
"server", 
"http_path", $this->config->getHttpPath());
 
   48        $ini->setVariable(
"https", 
"auto_https_detect_enabled", $this->config->isAutodetectionEnabled() ? 
"1" : 
"0");
 
   49        $ini->setVariable(
"https", 
"auto_https_detect_header_name", $this->config->getHeaderName());
 
   50        $ini->setVariable(
"https", 
"auto_https_detect_header_value", $this->config->getHeaderValue());
 
   57        $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
 
   58        $settings = 
$factory->settingsFor(
"common");
 
   59        $settings->set(
"proxy_status", (
int) $this->config->isProxyEnabled());
 
   60        $settings->set(
"proxy_host", $this->config->getProxyHost());
 
   61        $settings->set(
"proxy_port", $this->config->getProxyPort());
 
   71        $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
 
   72        $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
 
   73        $settings = 
$factory->settingsFor(
"common");
 
   75        $detect_enabled = $this->config->isAutodetectionEnabled() ? 
"1" : 
"0";
 
   78            $ini->readVariable(
"server", 
"http_path") !== $this->config->getHttpPath() ||
 
   79            $ini->readVariable(
"https", 
"auto_https_detect_enabled") !== $detect_enabled ||
 
   80            $ini->readVariable(
"https", 
"auto_https_detect_header_name") !== $this->config->getHeaderName() ||
 
   81            $ini->readVariable(
"https", 
"auto_https_detect_header_value") !== $this->config->getHeaderValue() ||
 
   82            $settings->get(
"proxy_status") !== (int) $this->config->isProxyEnabled() ||
 
   83            $settings->get(
"proxy_host") !== $this->config->getProxyHost() ||
 
   84            $settings->get(
"proxy_port") !== $this->config->getProxyPort()
 
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.
isApplicable(Setup\Environment $environment)
@inheritDoc
achieve(Setup\Environment $environment)
getPreconditions(Setup\Environment $environment)
__construct(\ilHttpSetupConfig $config)
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...