|
|
@ -60,7 +60,7 @@ class filesystem_attachments extends rcube_plugin
|
|
|
|
$args['id'] = $this->file_id();
|
|
|
|
$args['id'] = $this->file_id();
|
|
|
|
$args['path'] = $tmpfname;
|
|
|
|
$args['path'] = $tmpfname;
|
|
|
|
$args['status'] = true;
|
|
|
|
$args['status'] = true;
|
|
|
|
@chmod($tmpfname, 0600); // set correct permissions (#148899)
|
|
|
|
@chmod($tmpfname, 0600); // set correct permissions (#1488996)
|
|
|
|
|
|
|
|
|
|
|
|
// Note the file for later cleanup
|
|
|
|
// Note the file for later cleanup
|
|
|
|
$_SESSION['plugins']['filesystem_attachments'][$group][] = $tmpfname;
|
|
|
|
$_SESSION['plugins']['filesystem_attachments'][$group][] = $tmpfname;
|
|
|
|