mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
$file_obj가 정상적으로 초기화 되도록 수정
This commit is contained in:
parent
775f68a31a
commit
6fb4b7a610
1 changed files with 1 additions and 1 deletions
|
|
@ -1010,13 +1010,13 @@ class importerAdminController extends importer
|
||||||
|
|
||||||
while(!feof($fp))
|
while(!feof($fp))
|
||||||
{
|
{
|
||||||
$file_obj = new stdClass;
|
|
||||||
$str = trim(fgets($fp, 1024));
|
$str = trim(fgets($fp, 1024));
|
||||||
// If it ends with </attaches>, break
|
// If it ends with </attaches>, break
|
||||||
if(trim($str) == '</attaches>') break;
|
if(trim($str) == '</attaches>') break;
|
||||||
// If it starts with <attach>, collect attachments
|
// If it starts with <attach>, collect attachments
|
||||||
if(trim($str) == '<attach>')
|
if(trim($str) == '<attach>')
|
||||||
{
|
{
|
||||||
|
$file_obj = new stdClass;
|
||||||
$file_obj->file_srl = getNextSequence();
|
$file_obj->file_srl = getNextSequence();
|
||||||
$file_obj->upload_target_srl = $upload_target_srl;
|
$file_obj->upload_target_srl = $upload_target_srl;
|
||||||
$file_obj->module_srl = $module_srl;
|
$file_obj->module_srl = $module_srl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue