From 67415cf8d36dd4ab7ed4a89b7ba8d8d47f3836d9 Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 18 Jun 2025 10:53:46 +0900 Subject: [PATCH] =?UTF-8?q?get=5Funiqid=20=ED=95=A8=EC=88=98=EC=97=90=20ho?= =?UTF-8?q?ok=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/common.lib.php b/lib/common.lib.php index c9a2d9068..a37d0b69d 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2535,6 +2535,10 @@ function get_uniqid() { global $g5; + if ($get_uniqid_key = run_replace('get_uniqid_key', '')) { + return $get_uniqid_key; + } + sql_query(" LOCK TABLE {$g5['uniqid_table']} WRITE "); while (1) { // 년월일시분초에 100분의 1초 두자리를 추가함 (1/100 초 앞에 자리가 모자르면 0으로 채움)