mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
html editor optimizations (fixed #79)
This commit is contained in:
parent
8da34e8d5f
commit
e9b56e9477
104 changed files with 3874 additions and 3876 deletions
|
|
@ -5296,6 +5296,7 @@ class Actions
|
|||
$iError = UploadError::ON_SAVING;
|
||||
}
|
||||
|
||||
@\ini_set('auto_detect_line_endings', true);
|
||||
$mData = $this->FilesProvider()->GetFile($oAccount, $sSavedName);
|
||||
if ($mData)
|
||||
{
|
||||
|
|
@ -5323,6 +5324,8 @@ class Actions
|
|||
|
||||
unset($mData);
|
||||
$this->FilesProvider()->Clear($oAccount, $sSavedName);
|
||||
|
||||
@\ini_set('auto_detect_line_endings', false);
|
||||
}
|
||||
}
|
||||
else if (!isset($_FILES) || !is_array($_FILES) || 0 === count($_FILES))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue