20        if (
$DIC->offsetExists(
'ini')) {
 
   24        $ilClientIniFile = 
null;
 
   25        if (isset(
$DIC[
'ilClientIniFile'])) {
 
   26            $ilClientIniFile = 
$DIC[
'ilClientIniFile'];
 
   33                throw new Exception(
"No ILIAS ini");
 
   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();
 
An exception for terminatinating execution or to throw for unit testing.
Settings for the error protcoll system.
read()
reads the values from ilias.ini.php
update()
writes mail recipient into client.ini.php