mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 17:19:59 +09:00
fixed #141 document category 캐시 파일 문제로 문서 분류명이 표시되지 않는 문제 해결.
This commit is contained in:
parent
ee2c1281d2
commit
b951998195
1 changed files with 2 additions and 2 deletions
|
|
@ -1910,6 +1910,8 @@ class documentController extends document
|
||||||
$output = array("buff"=>"", "category_srl_list"=>array());
|
$output = array("buff"=>"", "category_srl_list"=>array());
|
||||||
if(!$source_node) return $output;
|
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
|
// Set to an arraty for looping and then generate php script codes to be included
|
||||||
foreach($source_node as $category_srl => $node)
|
foreach($source_node as $category_srl => $node)
|
||||||
{
|
{
|
||||||
|
|
@ -1943,7 +1945,6 @@ class documentController extends document
|
||||||
|
|
||||||
if(count($langs))
|
if(count($langs))
|
||||||
{
|
{
|
||||||
$php_header_buff .= '$_titles = array();';
|
|
||||||
foreach($langs as $key => $val)
|
foreach($langs as $key => $val)
|
||||||
{
|
{
|
||||||
$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||||
|
|
@ -1960,7 +1961,6 @@ class documentController extends document
|
||||||
|
|
||||||
if(count($langx))
|
if(count($langx))
|
||||||
{
|
{
|
||||||
$php_header_buff .= '$_descriptions = array();';
|
|
||||||
foreach($langx as $key => $val)
|
foreach($langx as $key => $val)
|
||||||
{
|
{
|
||||||
$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
$val = htmlspecialchars($val, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue