mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
Suppress error message
This commit is contained in:
parent
471bdca6c2
commit
c192082b27
@ -95,8 +95,7 @@ class IniWriter
|
||||
{
|
||||
$filePath = isset($filename) ? $filename : $this->filename;
|
||||
$setMode = false === file_exists($filePath);
|
||||
|
||||
if (file_put_contents($filePath, $this->render(), $exclusiveLock ? LOCK_EX : 0) === false) {
|
||||
if (@file_put_contents($filePath, $this->render(), $exclusiveLock ? LOCK_EX : 0) === false) {
|
||||
throw new Zend_Config_Exception('Could not write to file "' . $filePath . '"');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user