카페 메인의 관리자가 지정하는 소개글에 자동 줄바꿈 되도록 수정 (버그 수정)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6189 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-24 06:06:13 +00:00
parent 24a1ba354a
commit e05e1e9d4e

View file

@ -18,7 +18,7 @@
$oModuleModel = &getModel('module');
if($this->act != 'dispHomepageIndex' || strpos($this->act,'Cafe')===false) {
if($this->act != 'dispHomepageIndex' && strpos($this->act,'Cafe')===false) {
// 현재 접속 권한 체크하여 사이트 관리자가 아니면 접근 금지
$logged_info = Context::get('logged_info');
if(!Context::get('is_logged') || !$oModuleModel->isSiteAdmin($logged_info)) return $this->stop('msg_not_permitted');