mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#98. 에디터 컴포넌트가 서버에서 물리적으로 지워졌을 경우 DB에 정보가 있더라도 무시하도록 코드 수정.
혹시나 잘못 파일을 지웠을 때를 대비하여 DB에서 지우지는 않음. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2532 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
89a1c021dd
commit
7926e4f851
1 changed files with 3 additions and 2 deletions
|
|
@ -170,9 +170,10 @@
|
||||||
if(!is_array($db_list)) $db_list = array($db_list);
|
if(!is_array($db_list)) $db_list = array($db_list);
|
||||||
foreach($db_list as $component) {
|
foreach($db_list as $component) {
|
||||||
if(in_array($component->component_name, array('colorpicker_text','colorpicker_bg'))) continue;
|
if(in_array($component->component_name, array('colorpicker_text','colorpicker_bg'))) continue;
|
||||||
if(!$component->component_name) continue;
|
|
||||||
|
|
||||||
$component_name = $component->component_name;
|
$component_name = $component->component_name;
|
||||||
|
if(!$component_name) continue;
|
||||||
|
|
||||||
|
if(!in_array($component_name, $downloaded_list)) continue;
|
||||||
|
|
||||||
unset($xml_info);
|
unset($xml_info);
|
||||||
$xml_info = $this->getComponentXmlInfo($component_name);
|
$xml_info = $this->getComponentXmlInfo($component_name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue