mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaConfig: check for #655 only on MySQL
PostgreSQL binary checksums are always passed as hex
This commit is contained in:
parent
eecb3cddf0
commit
dca0ea63af
@ -320,7 +320,8 @@ class IcingaConfig
|
||||
ini_set('memory_limit', '768M');
|
||||
ini_set('max_execution_time', 0);
|
||||
|
||||
if ($this->db->quote("1\0") !== '\'1\\0\'') {
|
||||
if (! $this->connection->isPgsql() && $this->db->quote("1\0") !== '\'1\\0\'') {
|
||||
|
||||
throw new IcingaException(
|
||||
'Refusing to render the configuration, your DB layer corrupts binary data.'
|
||||
. ' You might be affected by Zend Framework bug #655'
|
||||
|
Loading…
x
Reference in New Issue
Block a user