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

This commit is contained in:
zero 2007-04-02 11:41:57 +00:00
parent b362d3972f
commit 8a08926f1c
2 changed files with 3 additions and 3 deletions

View file

@ -53,9 +53,9 @@
$this->content_size = strlen($output);
// 컨텐츠 출력
ob_start('ob_gzhandler');
if(Context::getResponseMethod()!="XMLRPC") ob_start('ob_gzhandler');
print trim($output);
ob_end_flush();
if(Context::getResponseMethod()!="XMLRPC") ob_end_flush();
// 디버깅 데이터 출력
$this->_debugOutput();

View file

@ -85,7 +85,7 @@
$user_group = $logged_info->group_list;
// 로그인되어 있다면 admin 체크
if($is_logged && ($logged_info->is_admin == 'Y' || in_array($user_id, $this->module_info->admin_id) )) {
if($is_logged && ($logged_info->is_admin == 'Y' || (is_array($this->module_info->admin_id)&&in_array($user_id, $this->module_info->admin_id) )) ) {
$grant->is_admin = true;
} else {
$grant->is_admin = false;