mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-10 14:02:12 +09:00
#285 모듈의 class파일에 isAdmin() method를 추가하여 모듈 개별적으로 관리 권한에 대해 체크할 수 있는 기능을 추가하여 문서 모듈의 경우 게시판 관리자 id로 등록되어 있는지를 확인하여 권한을 부여하도록 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3486 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
72b4680bd1
commit
61176c6538
4 changed files with 101 additions and 9 deletions
|
|
@ -102,6 +102,10 @@
|
|||
Context::setBrowserTitle($module_info->browser_title);
|
||||
}
|
||||
|
||||
// 모듈정보에 module과 mid를 강제로 지정
|
||||
$this->module_info->module = $this->module;
|
||||
$this->mid = $this->mid;
|
||||
|
||||
// 여기까지도 모듈 정보를 찾지 못했다면 깔끔하게 시스템 오류 표시
|
||||
if(!$this->module) $this->error = 'msg_module_is_not_exists';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue