mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaConfig: pgsql workaround :(
This commit is contained in:
parent
ae6b7367dc
commit
e7dbeef21c
@ -214,6 +214,15 @@ class IcingaConfig
|
||||
$result = $this->db->fetchRow($query);
|
||||
$this->checksum = $result->checksum;
|
||||
$this->lastActivityChecksum = $result->last_activity_checksum;
|
||||
|
||||
if (is_resource($this->checksum)) {
|
||||
$this->checksum = stream_get_contents($this->checksum);
|
||||
}
|
||||
|
||||
if (is_resource($this->lastActivityChecksum)) {
|
||||
$this->lastActivityChecksum = stream_get_contents($this->lastActivityChecksum);
|
||||
}
|
||||
|
||||
$query = $this->db->select()->from(
|
||||
array('cf' => 'director_generated_config_file'),
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user