mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
NOISSUE 카테고리 캐시파일 생성시 오류 수정
This commit is contained in:
parent
77dd2d4fbf
commit
b755612754
1 changed files with 2 additions and 2 deletions
|
|
@ -1801,6 +1801,8 @@ class documentController extends document
|
||||||
$xml_body_buff
|
$xml_body_buff
|
||||||
);
|
);
|
||||||
// Create php cache file
|
// Create php cache file
|
||||||
|
$php_header_buff = '$_titles = array();';
|
||||||
|
$php_header_buff .= '$_descriptions = array();';
|
||||||
$php_output = $this->getPhpCacheCode($tree[0], $tree, $module_info->site_srl, $php_header_buff);
|
$php_output = $this->getPhpCacheCode($tree[0], $tree, $module_info->site_srl, $php_header_buff);
|
||||||
$php_buff = sprintf(
|
$php_buff = sprintf(
|
||||||
'<?php '.
|
'<?php '.
|
||||||
|
|
@ -1910,8 +1912,6 @@ 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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue