mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 06:22:20 +09:00
issue 1370 add exception, when can not read directory list with ftp
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10281 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
778fdc82ed
commit
9c4e57b4ec
2 changed files with 18 additions and 0 deletions
|
|
@ -91,6 +91,10 @@
|
|||
if(strpos($v,'d') === 0 || strpos($v, '<DIR>')) $list[] = substr(strrchr($v,' '),1) . '/';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Object(-1,'msg_ftp_no_directory');
|
||||
}
|
||||
$this->add('list', $list);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue