ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
HeaderSettingsFromIni.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\HTTP\Request;
20
22
27{
28 public function __construct(
29 private IliasIni $ilias_ini
30 ) {
31 }
32
33 public function isHTTPSDetectionEnabled(): bool
34 {
35 return $this->ilias_ini->isAutoHttpsDetectEnabled();
36 }
37
38 public function getHTTPDetectionHeaderName(): ?string
39 {
40 return $this->ilias_ini->getAutoHttpsDetectHeaderName();
41 }
42
43 public function getHTTPDetectionHeaderValue(): ?string
44 {
45 return $this->ilias_ini->getAutoHttpsDetectHeaderValue();
46 }
47}
Typed read access to ilias.ini.php.
Definition: IliasIni.php:35
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...