mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
DbConnection::__construct(): Set prefix if configured
This commit is contained in:
parent
aa56f3010c
commit
2b67683e00
@ -64,6 +64,9 @@ class DbConnection implements Selectable
|
||||
public function __construct(Zend_Config $config = null)
|
||||
{
|
||||
$this->config = $config;
|
||||
if (isset($config->prefix)) {
|
||||
$this->tablePrefix = $config->prefix;
|
||||
}
|
||||
$this->connect();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user