◆ __construct()
◆ achieve()
ilLoggingConfigStoredObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 43 of file class.ilLoggingConfigStoredObjective.php.
References $ini.
45 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
47 $ini->setVariable(
"log",
"enabled", $this->config->isEnabled() ?
"1" :
"0");
48 $ini->setVariable(
"log",
"path", dirname($this->config->getPathToLogfile()));
49 $ini->setVariable(
"log",
"file", basename($this->config->getPathToLogfile()));
50 $ini->setVariable(
"log",
"error_path", $this->config->getErrorlogDir());
53 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
◆ getHash()
ilLoggingConfigStoredObjective::getHash |
( |
| ) |
|
◆ getLabel()
ilLoggingConfigStoredObjective::getLabel |
( |
| ) |
|
◆ getPreconditions()
ilLoggingConfigStoredObjective::getPreconditions |
( |
Setup\Environment |
$environment | ) |
|
◆ isApplicable()
ilLoggingConfigStoredObjective::isApplicable |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 62 of file class.ilLoggingConfigStoredObjective.php.
References $ini.
64 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
65 $enabled = $this->config->isEnabled() ?
"1" :
"0";
68 $ini->readVariable(
"log",
"path") !== dirname($this->config->getPathToLogfile()) ||
69 $ini->readVariable(
"log",
"file") !== basename($this->config->getPathToLogfile()) ||
70 $ini->readVariable(
"log",
"error_path") !== $this->config->getErrorlogDir() ||
71 $ini->readVariable(
"log",
"enabled") !== $enabled
◆ isNotable()
ilLoggingConfigStoredObjective::isNotable |
( |
| ) |
|
◆ $config
ilLoggingConfigStoredObjective::$config |
|
protected |
The documentation for this class was generated from the following file: