#19432866 document_category 캐시파일에서 경로오류가 발생할 수 있는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8009 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2011-01-03 07:59:43 +00:00
parent ae491fd1fb
commit 0c086488b0

View file

@ -1310,7 +1310,7 @@
$xml_buff = sprintf( $xml_buff = sprintf(
'<?php '. '<?php '.
'define(\'__ZBXE__\', true); '. 'define(\'__ZBXE__\', true); '.
'require_once(\'../../../config/config.inc.php\'); '. 'require_once(\''.FileHandler::getRealPath('./config/config.inc.php').'\'); '.
'$oContext = &Context::getInstance(); '. '$oContext = &Context::getInstance(); '.
'$oContext->init(); '. '$oContext->init(); '.
'header("Content-Type: text/xml; charset=UTF-8"); '. 'header("Content-Type: text/xml; charset=UTF-8"); '.