From 091daba4ab8a4ca9178079cbd826a1e6d1cd5538 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 15 Jan 2013 21:37:24 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=EB=A9=94?= =?UTF-8?q?=EC=9D=BC=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/session_delete.php | 24 ++++++++++++------------ css/adm.css | 3 +++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/adm/session_delete.php b/adm/session_delete.php index 3032f565f..e2646cd9d 100644 --- a/adm/session_delete.php +++ b/adm/session_delete.php @@ -19,28 +19,28 @@ if (!$dir=@opendir($session_path)) { $cnt=0; while($file=readdir($dir)) { - + if (!strstr($file,'sess_')) { - continue; - } + continue; + } if (strpos($file,'sess_')!=0) { - continue; - } + continue; + } - if (!$atime=@fileatime("$session_path/$file")) { - continue; - } - if (time() > $atime + (3600 * 6)) { // 지난시간을 초로 계산해서 적어주시면 됩니다. default : 6시간전 + if (!$atime=@fileatime("$session_path/$file")) { + continue; + } + if (time() > $atime + (3600 * 6)) { // 지난시간을 초로 계산해서 적어주시면 됩니다. default : 6시간전 $cnt++; - $return = unlink("$session_path/$file"); - echo "\n"; + $return = unlink("$session_path/$file"); + echo "\n"; flush(); if ($cnt%10==0) echo "\n"; - } + } } echo "\n"; ?> \ No newline at end of file diff --git a/css/adm.css b/css/adm.css index afb96f492..b01896ffb 100644 --- a/css/adm.css +++ b/css/adm.css @@ -147,6 +147,9 @@ td {padding:10px} .visit_bar {position:relative} .visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#ddd} +/* 메일 테스트 */ +#fsendmailtest p {margin-bottom:20px;padding:13px;border:1px solid #ced9de;background:#fff;font-size:0.75em} + /* pagination */ .pg {clear:both;margin:0 0 10px;padding-top:20px;font-size:0.75em;text-align:center} .pg_wrap {display:inline-block;border:1px solid #c7cfd5;letter-spacing:-4px}