tool 기능을 개선하여 전체 tool관리 가능하도록 변경(주소/tools 로 접속하여 선택). 빈 디렉토리 삭제 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4378 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-07-17 03:30:49 +00:00
parent b206a07524
commit 0fddaf252f
12 changed files with 196 additions and 340 deletions

View file

@ -0,0 +1,17 @@
<?php
/**
* @file tools/clear_cache.php
* @author zero <zero@zeroboard.com>
* @brief XE 캐시파일 불필요한 파일 정리
**/
// 인증이 되지 않은 접근이면 종료
if(!defined('__XE_TOOL_AUTH__') || !__XE_TOOL_AUTH__) exit();
// 캐시 파일 제거
$oAdminController = &getAdminController('admin');
$oAdminController->procAdminRecompileCacheFile();
$output = Context::getLang('success_reset');
Context::set('output', $output);
?>