mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#18457976 TTXML 텍스트큐브에서 이전시 오류발생 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6971 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
400bdef3c7
commit
bee1cf3859
1 changed files with 8 additions and 2 deletions
|
|
@ -63,7 +63,10 @@
|
|||
$buff = '';
|
||||
while (!feof($oExtract->fd)) {
|
||||
$str = fgets($oExtract->fd, 1024);
|
||||
if(substr($str,0,strlen('<category>'))=='<category>') $started = true;
|
||||
if(strstr($str, '<category>')) {
|
||||
$started = true;
|
||||
$str = strstr($str, '<category>');
|
||||
}
|
||||
if(substr($str,0,strlen('<post ')) == '<post ') break;
|
||||
if ($started) $buff .= $str;
|
||||
}
|
||||
|
|
@ -80,7 +83,10 @@
|
|||
$buff = '';
|
||||
while (!feof($oExtract->fd)) {
|
||||
$str = fgets($oExtract->fd, 1024);
|
||||
if(substr($str,0,strlen('<guestbook>'))=='<guestbook>') $started = true;
|
||||
if(strstr($str, '<guestbook>')) {
|
||||
$started = true;
|
||||
$str = strstr($str, '<category>');
|
||||
}
|
||||
if ($started) {
|
||||
$pos = strpos($str, '</guestbook>');
|
||||
if ($pos !== false) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue