mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 839, added message for an environment that does not support sftp.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10333 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5e075dac43
commit
700a62d01c
2 changed files with 9 additions and 1 deletions
|
|
@ -188,6 +188,11 @@
|
|||
}
|
||||
|
||||
function _connect() {
|
||||
if(!function_exists('ssh2_connect'))
|
||||
{
|
||||
return new Object(-1, 'msg_sftp_not_supported');
|
||||
}
|
||||
|
||||
if(!$this->ftp_info->ftp_user || !$this->ftp_info->sftp || $this->ftp_info->sftp != 'Y') return new Object(-1,'msg_ftp_invalid_auth_info');
|
||||
|
||||
if($this->ftp_info->ftp_host)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue