#396 최고관리자임에도 특정 그룹에 속해있지 않아서 그룹 권한이 부여된 메뉴가 표시되지 않는 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3661 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-14 07:12:06 +00:00
parent ea4451e8ac
commit ce6f2504ab

View file

@ -365,7 +365,7 @@
// php 캐시 파일 생성
$php_output = $this->getPhpCacheCode($tree[0], $tree);
$php_buff = sprintf('<?php if(!defined("__ZBXE__")) exit(); $lang_type = Context::getLangType(); %s; $menu->list = array(%s); if($_SESSION["logged_info"]&&$_SESSION["logged_info"]->is_admin=="Y") $_is_admin = true; ?>', $php_output['name'], $php_output['buff']);
$php_buff = sprintf('<?php if(!defined("__ZBXE__")) exit(); if($_SESSION["logged_info"]&&$_SESSION["logged_info"]->is_admin=="Y") $_is_admin = true; $lang_type = Context::getLangType(); %s; $menu->list = array(%s); ?>', $php_output['name'], $php_output['buff']);
// 파일 저장
FileHandler::writeFile($xml_file, $xml_buff);