Soft fail for chmod errors
This commit is contained in:
parent
54f1cb9d34
commit
fd5a7a07ae
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ abstract class persistence
|
||||||
if ($writtenBytes === false || $writtenBytes < strlen($data)) {
|
if ($writtenBytes === false || $writtenBytes < strlen($data)) {
|
||||||
throw new Exception('unable to write to file ' . $file, 13);
|
throw new Exception('unable to write to file ' . $file, 13);
|
||||||
}
|
}
|
||||||
chmod($file, 0640); // protect file access
|
@chmod($file, 0640); // protect file access
|
||||||
return $file;
|
return $file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue