g4를 g5로 변경
This commit is contained in:
@ -3,9 +3,9 @@ $sub_menu = '100900';
|
||||
include_once('./_common.php');
|
||||
|
||||
if ($is_admin != 'super')
|
||||
alert('최고관리자만 접근 가능합니다.', G4_URL);
|
||||
alert('최고관리자만 접근 가능합니다.', G5_URL);
|
||||
|
||||
$g4['title'] = '캐시파일 일괄삭제';
|
||||
$g5['title'] = '캐시파일 일괄삭제';
|
||||
include_once('./admin.head.php');
|
||||
?>
|
||||
|
||||
@ -16,14 +16,14 @@ 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/latest-*');
|
||||
$files = glob(G5_DATA_PATH.'/cache/latest-*');
|
||||
if (is_array($files)) {
|
||||
foreach ($files as $cache_file) {
|
||||
$cnt++;
|
||||
|
||||
Reference in New Issue
Block a user