mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 20:29:57 +09:00
Merge pull request #599 from KMCProject/devel-module01
모듈 포맷 0.1 처리 부분의 php 5.4 대응 stdClass 정의 누락 수정
This commit is contained in:
commit
df020a3f23
1 changed files with 1 additions and 0 deletions
|
|
@ -785,6 +785,7 @@ class moduleModel extends module
|
|||
if(!$module_info->category) $module_info->category = 'service';
|
||||
sscanf($xml_obj->author->attrs->date, '%d. %d. %d', $date_obj->y, $date_obj->m, $date_obj->d);
|
||||
$module_info->date = sprintf('%04d%02d%02d', $date_obj->y, $date_obj->m, $date_obj->d);
|
||||
$author_obj = new stdClass();
|
||||
$author_obj->name = $xml_obj->author->name->body;
|
||||
$author_obj->email_address = $xml_obj->author->attrs->email_address;
|
||||
$author_obj->homepage = $xml_obj->author->attrs->link;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue