mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
fixing missing '
This commit is contained in:
parent
a8ef3aa18a
commit
4bbe93aea7
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ class Utils
|
|||
public static function saveFile(string $filename, string $data) : void
|
||||
{
|
||||
$dir = \dirname($filename);
|
||||
if (!\is_dir($dir) && !\mkdir($dir, intval($oConfig->Get('security', 'dir_permissions)), true)) {
|
||||
if (!\is_dir($dir) && !\mkdir($dir, intval($oConfig->Get('security', 'dir_permissions')), true)) {
|
||||
throw new \RuntimeException('Failed to create directory "'.$dir.'"');
|
||||
}
|
||||
if (false === \file_put_contents($filename, $data)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue