kleine änderungen
This commit is contained in:
parent
4af5649d27
commit
5f90bb2f07
|
@ -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);
|
||||
|
|
|
@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue