Workaround PHP issue by calling closelog() on script shutdown when using log_driver=syslog (#5289)

pull/5268/merge
Aleksander Machniak 9 years ago
parent 96102e2052
commit c76c4ed08b

@ -22,6 +22,7 @@ CHANGELOG Roundcube Webmail
- Enigma: Fix malformed signed messages with force_7bit=true (#5292) - Enigma: Fix malformed signed messages with force_7bit=true (#5292)
- Fix searching by email address in contacts with multiple addresses (#5291) - Fix searching by email address in contacts with multiple addresses (#5291)
- Fix handling of --delete argument in moduserprefs.sh script (#5296) - Fix handling of --delete argument in moduserprefs.sh script (#5296)
- Workaround PHP issue by calling closelog() on script shutdown when using log_driver=syslog (#5289)
RELEASE 1.2.0 RELEASE 1.2.0
------------- -------------

@ -1003,6 +1003,10 @@ class rcube
if (is_object($this->storage)) { if (is_object($this->storage)) {
$this->storage->close(); $this->storage->close();
} }
if ($this->config->get('log_driver') == 'syslog') {
closelog();
}
} }
/** /**

Loading…
Cancel
Save