fixed #50, file_put_contents함수에 LOCK_EX flag 적

This commit is contained in:
khongchi 2013-11-15 12:56:29 +09:00
parent ab021d75c7
commit 71c8a0b99f
11 changed files with 14 additions and 14 deletions

View file

@ -287,7 +287,7 @@ class pointAdminController extends point
$str .= $key.','.$val."\r\n";
}
@file_put_contents('./files/cache/pointRecal.txt', $str);
@file_put_contents('./files/cache/pointRecal.txt', $str, LOCK_EX);
$this->add('total', count($member));
$this->add('position', 0);