message specification

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7398 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-04-27 09:48:11 +00:00
parent a3c2f4b8fb
commit 258159d0a3
10 changed files with 11 additions and 1 deletions

View file

@ -19,7 +19,8 @@
$sftp = ssh2_sftp($connection);
$curpwd = "ssh2.sftp://$sftp".$this->pwd;
$dh = opendir($curpwd);
$dh = @opendir($curpwd);
if(!$dh) return new Object(-1, 'msg_ftp_invalid_path');
$list = array();
while(($file = readdir($dh)) !== false) {
if(is_dir($curpwd.$file))