mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
#18516144 : added an error message when authentication failed
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7006 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2f62e5189d
commit
c50003d409
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,10 @@
|
|||
$_list = $oFtp->ftp_rawlist($this->pwd);
|
||||
$oFtp->ftp_quit();
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Object(-1,'msg_ftp_invalid_auth_info');
|
||||
}
|
||||
}
|
||||
$list = array();
|
||||
if(count($_list) == 0 || !$_list[0]) {
|
||||
|
|
@ -59,6 +63,10 @@
|
|||
$_list = $oFtp->ftp_rawlist($this->pwd);
|
||||
$oFtp->ftp_quit();
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Object(-1,'msg_ftp_invalid_auth_info');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue