mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 03:12:55 +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
|
|
@ -297,7 +297,7 @@ class DisplayHandler extends Handler
|
|||
$buff = str_repeat('=', 40) . "\n" . $buff . str_repeat('-', 40);
|
||||
$buff = "\n<?php\n/*" . $buff . "*/\n?>\n";
|
||||
|
||||
if (!@file_put_contents($debug_file, $buff, FILE_APPEND))
|
||||
if (!@file_put_contents($debug_file, $buff, FILE_APPEND|LOCK_EX))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue