1<?
php declare(strict_types=1);
25 return hash(
"sha256", self::class);
30 return "Store information about privacy security in settings";
40 $common_config = $environment->getConfigFor(
"common");
42 new \ilIniFilesPopulatedObjective($common_config),
43 new \ilSettingsFactoryExistsObjective()
49 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
50 $settings =
$factory->settingsFor(
"common");
51 $settings->set(
"https", $this->
bool2string($this->config->getForceHttpsOnLogin()));
An exception for terminatinating execution or to throw for unit testing.
Store information about https is enabled.
getPreconditions(Setup\Environment $environment)
achieve(Setup\Environment $environment)
__construct(\ilPrivacySecuritySetupConfig $config)
isApplicable(Setup\Environment $environment)
@inheritDoc
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...