mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
fixed #50, file_put_contents함수에 LOCK_EX flag 적
This commit is contained in:
parent
ab021d75c7
commit
71c8a0b99f
11 changed files with 14 additions and 14 deletions
|
|
@ -176,7 +176,7 @@ class FileHandler
|
|||
$flags = 0;
|
||||
}
|
||||
|
||||
@file_put_contents($file_name, $buff, $flags);
|
||||
@file_put_contents($file_name, $buff, $flags|LOCK_EX);
|
||||
@chmod($file_name, 0644);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue