mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
#18816141 : skip warning from ftp_login and return error properly
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7372 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bac6bef8f1
commit
9e36140660
1 changed files with 1 additions and 2 deletions
|
|
@ -172,8 +172,7 @@
|
|||
|
||||
$connection = ftp_connect($ftp_host, $ftp_info->ftp_port);
|
||||
if(!$connection) return new Object(-1, 'msg_ftp_not_connected');
|
||||
|
||||
$login_result = ftp_login($connection, $ftp_info->ftp_user, $this->ftp_password);
|
||||
$login_result = @ftp_login($connection, $ftp_info->ftp_user, $this->ftp_password);
|
||||
if(!$login_result)
|
||||
{
|
||||
return new Object(-1,'msg_ftp_invalid_auth_info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue