g4를 g5로 변경
This commit is contained in:
@ -3,9 +3,9 @@ $sub_menu = '100910';
|
||||
include_once('./_common.php');
|
||||
|
||||
if ($is_admin != 'super')
|
||||
alert('최고관리자만 접근 가능합니다.', G4_URL);
|
||||
alert('최고관리자만 접근 가능합니다.', G5_URL);
|
||||
|
||||
$g4['title'] = '캡챠파일 일괄삭제';
|
||||
$g5['title'] = '캡챠파일 일괄삭제';
|
||||
include_once('./admin.head.php');
|
||||
?>
|
||||
|
||||
@ -16,16 +16,16 @@ include_once('./admin.head.php');
|
||||
<?php
|
||||
flush();
|
||||
|
||||
if (!$dir=@opendir(G4_DATA_PATH.'/cache')) {
|
||||
if (!$dir=@opendir(G5_DATA_PATH.'/cache')) {
|
||||
echo '<p>캐시디렉토리를 열지못했습니다.</p>';
|
||||
}
|
||||
|
||||
$cnt=0;
|
||||
echo '<ul>'.PHP_EOL;
|
||||
|
||||
$files = glob(G4_DATA_PATH.'/cache/gcaptcha-*');
|
||||
$files = glob(G5_DATA_PATH.'/cache/gcaptcha-*');
|
||||
if (is_array($files)) {
|
||||
$before_time = G4_SERVER_TIME - 3600; // 한시간전
|
||||
$before_time = G5_SERVER_TIME - 3600; // 한시간전
|
||||
foreach ($files as $gcaptcha_file) {
|
||||
$modification_time = filemtime($gcaptcha_file); // 파일접근시간
|
||||
|
||||
|
||||
Reference in New Issue
Block a user