git-svn-id: http://xe-core.googlecode.com/svn/trunk@856 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-02 00:59:01 +00:00
parent b96a8dfc4f
commit f08a92575f
5 changed files with 27 additions and 22 deletions

View file

@ -92,7 +92,13 @@
}
// act값에 admin이 들어 있는데 관리자가 아닌 경우 오류 표시
if(!$grant->is_admin && substr_count($this->act, 'Admin')) return $this->stop('msg_not_permitted_act');
if(substr_count($this->act, 'Admin')) {
if(!$is_logged) {
$this->setAct("dispMemberLoginForm");
} elseif(!$grant->is_admin) {
return $this->stop('msg_not_permitted_act');
}
}
// 권한 설정
if($xml_info->grant) {