Translate comments into English

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6877 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-10-20 09:17:36 +00:00
parent 31f55d0f21
commit ab09002660
3 changed files with 51 additions and 51 deletions

View file

@ -2,35 +2,35 @@
/**
* @class adminAdminController
* @author zero (zero@nzeo.com)
* @brief admin 모듈의 admin controller class
* @brief admin controller class of admin module
**/
class adminAdminController extends admin {
/**
* @brief 초기화
* @brief initialization
* @return none
**/
function init() {
// 접속 사용자에 대한 체크
// forbit access if the user is not an administrator
$oMemberModel = &getModel('member');
$logged_info = $oMemberModel->getLoggedInfo();
// 관리자가 아니면 금지
if($logged_info->is_admin!='Y') return $this->stop("msg_is_not_administrator");
}
/**
* @brief 모든 캐시 파일 재생성
* @brief Regenerate all cache files
* @return none
**/
function procAdminRecompileCacheFile() {
$oModuleModel = &getModel('module');
$module_list = $oModuleModel->getModuleList();
// 개발 디버그 파일들 제거
// remove debug files
FileHandler::removeFile(_XE_PATH_.'files/_debug_message.php');
FileHandler::removeFile(_XE_PATH_.'files/_debug_db_query.php');
FileHandler::removeFile(_XE_PATH_.'files/_db_slow_query.php');
// 각 모듈마다 돌면서 캐시 파일 제거
// call recompileCache for each module
foreach($module_list as $module) {
$oModule = null;
$oModule = &getClass($module->module);
@ -41,7 +41,8 @@
}
/**
* @brief 관리자 로그아웃
* @brief Logout
* @return none
**/
function procAdminLogout() {
$oMemberController = &getController('member');