From 5f90bb2f075046f6fa63e47284109e634bb60d7b Mon Sep 17 00:00:00 2001 From: bernd Date: Mon, 1 Mar 2021 19:45:04 +0100 Subject: [PATCH] =?UTF-8?q?kleine=20=C3=A4nderungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/base.php | 3 ++- lib/config.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index fd42d64..8a87319 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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); diff --git a/lib/config.php b/lib/config.php index 5923f39..d966016 100644 --- a/lib/config.php +++ b/lib/config.php @@ -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}"); } }