◆ __construct()
◆ achieve()
ilHttpConfigStoredObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 43 of file class.ilHttpConfigStoredObjective.php.
References $factory, and $ini.
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());
54 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
57 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
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());
◆ getHash()
ilHttpConfigStoredObjective::getHash |
( |
| ) |
|
◆ getLabel()
ilHttpConfigStoredObjective::getLabel |
( |
| ) |
|
◆ getPreconditions()
ilHttpConfigStoredObjective::getPreconditions |
( |
Setup\Environment |
$environment | ) |
|
◆ isApplicable()
ilHttpConfigStoredObjective::isApplicable |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 69 of file class.ilHttpConfigStoredObjective.php.
References $factory, and $ini.
71 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
72 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
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()
◆ isNotable()
ilHttpConfigStoredObjective::isNotable |
( |
| ) |
|
◆ $config
ilHttpConfigStoredObjective::$config |
|
protected |
The documentation for this class was generated from the following file: