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}"); } }