kleine änderungen

This commit is contained in:
bernd 2021-03-01 19:45:04 +01:00
parent 4af5649d27
commit 5f90bb2f07
2 changed files with 3 additions and 2 deletions

View file

@ -59,7 +59,8 @@ class BaseClass {
$this->log->setLogLevel($this->config->getLogLevel());
/**
* Instanz der Klasse Datenbank erstellen. Die Datenbank bekommt die
* Instanzen der Klassen Config und Logger übergeben.
* Instanz der Klasse Config übergeben. Wenn nicht vorhanden wird
* die Tabelle requests angelegt.
*/
try {
$this->db = getDatabase($this->config, $this->log);

View file

@ -16,7 +16,7 @@ class Config {
$this->config = @parse_ini_file($config_path);
if ($this->config === false)
{
throw new Exception("Failed to parse configuration file");
throw new Exception("Failed to parse configuration at {$config_path}");
}
}