fixed #141 document category 캐시 파일 문제로 문서 분류명이 표시되지 않는 문제 해결.

This commit is contained in:
bnu 2013-12-05 21:50:41 +09:00
parent ee2c1281d2
commit b951998195

View file

@ -1910,6 +1910,8 @@ class documentController extends document
$output = array("buff"=>"", "category_srl_list"=>array());
if(!$source_node) return $output;
$php_header_buff .= '$_titles = array();';
$php_header_buff .= '$_descriptions = array();';
// Set to an arraty for looping and then generate php script codes to be included
foreach($source_node as $category_srl => $node)
{
@ -1943,7 +1945,6 @@ class documentController extends document
if(count($langs))
{
$php_header_buff .= '$_titles = array();';
foreach($langs as $key => $val)
{
$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
@ -1960,7 +1961,6 @@ class documentController extends document
if(count($langx))
{
$php_header_buff .= '$_descriptions = array();';
foreach($langx as $key => $val)
{
$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);