mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
Merge branch 'develop' into pr/advanced-mailer
This commit is contained in:
commit
b971ea19ca
34 changed files with 798 additions and 108 deletions
|
|
@ -309,7 +309,14 @@ class Storage
|
|||
|
||||
if ($destination_perms === null)
|
||||
{
|
||||
@chmod($destination, 0777 & @fileperms($source));
|
||||
if (is_uploaded_file($source))
|
||||
{
|
||||
@chmod($destination, 0666 ^ intval(config('file.umask'), 8));
|
||||
}
|
||||
else
|
||||
{
|
||||
@chmod($destination, 0777 & @fileperms($source));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue