From 0fa4d88ea9190ff287f65872a516e257329d9f51 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 18 Apr 2018 00:01:40 +0900 Subject: [PATCH] =?UTF-8?q?lock=20=ED=8C=8C=EC=9D=BC=20=EA=B2=BD=EB=A1=9C?= =?UTF-8?q?=20=EC=B2=B4=ED=81=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func.php b/hwe/func.php index 28cca4e9..6ada2b7d 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -1522,7 +1522,7 @@ function checkTurn() { // 파일락 획득 //FIXME:이미 DB 테이블로 lock을 시도하는데 이게 따로 필요한가? - $fp = fopen('lock.txt', 'r'); + $fp = fopen(__dir__.'/lock.txt', 'r'); if(!flock($fp, LOCK_EX)) { return; }