35         if ($DIC->offsetExists(
'ilIliasIniFile')) {
    36             $this->ilias_ini = $DIC->iliasIni();
    37         } elseif ($DIC->offsetExists(
'ini')) {
    38             $this->ilias_ini = $DIC[
'ini'];
    40         if ($DIC->offsetExists(
'ilClientIniFile')) {
    41             $this->gClientIniFile = $DIC->clientIni();
    56     public function setMail(
string $mail): void
    66     public function mail(): string
    74     protected function read(): void
    76         if ($this->ilias_ini instanceof 
ilIniFile) {
    77             $this->
setFolder((
string) $this->ilias_ini->readVariable(
"log", 
"error_path"));
    79         if ($this->gClientIniFile instanceof \ilIniFile) {
    80             $this->
setMail((
string) $this->gClientIniFile->readVariable(
"log", 
"error_recipient"));
    89         if ($this->gClientIniFile instanceof \
ilIniFile) {
    90             $this->gClientIniFile->addGroup(
"log");
    91             $this->gClientIniFile->setVariable(
"log", 
"error_recipient", trim($this->
mail()));
    92             $this->gClientIniFile->write();
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
update()
writes mail recipient into client.ini.php 
 
read()
reads the values from ilias.ini.php 
 
ilIniFile $gClientIniFile
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setFolder(string $folder)