From 4748e6d4b7662c6936716ba2fac7c209d306a57f Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 8 Apr 2013 16:29:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BA=A1=EC=B1=A0=ED=8C=8C=EC=9D=BC=EC=9D=98?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C=EB=A5=BC=20=EC=A0=91=EA=B7=BC=EC=8B=9C?= =?UTF-8?q?=EA=B0=84=EC=9D=B4=20=EC=95=84=EB=8B=8C=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EB=90=9C=20=EC=8B=9C=EA=B0=84=EC=9C=BC=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/gcaptcha_file_delete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adm/gcaptcha_file_delete.php b/adm/gcaptcha_file_delete.php index 8c6db74a0..3a9930550 100644 --- a/adm/gcaptcha_file_delete.php +++ b/adm/gcaptcha_file_delete.php @@ -27,9 +27,9 @@ include_once('./admin.head.php'); if (is_array($files)) { $before_time = G4_SERVER_TIME - 3600; // 한시간전 foreach ($files as $gcaptcha_file) { - $access_time = fileatime($gcaptcha_file); // 파일접근시간 + $modification_time = filemtime($gcaptcha_file); // 파일접근시간 - if ($access_time > $before_time) continue; + if ($modification_time > $before_time) continue; $cnt++; unlink($gcaptcha_file);