20 if ($DIC->offsetExists(
'ini')) {
24 $ilClientIniFile = null;
25 if (isset($DIC[
'ilClientIniFile'])) {
26 $ilClientIniFile = $DIC[
'ilClientIniFile'];
35 $this->ilias_ini =
$ini;
41 if ($ilClientIniFile !== null) {
42 $this->gClientIniFile = $ilClientIniFile;
81 $this->
setFolder($this->ilias_ini->readVariable(
"log",
"error_path"));
83 if ($this->gClientIniFile instanceof \
ilIniFile) {
84 $this->
setMail($this->gClientIniFile->readVariable(
"log",
"error_recipient"));
93 if ($this->gClientIniFile instanceof \
ilIniFile) {
94 $this->gClientIniFile->addGroup(
"log");
95 $this->gClientIniFile->setVariable(
"log",
"error_recipient", trim($this->
mail()));
96 $this->gClientIniFile->write();
Settings for the error protcoll system.
update()
writes mail recipient into client.ini.php
read()
reads the values from ilias.ini.php