mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
issue 740 check enviroment for use sftp function
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9972 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1ba2d35a75
commit
77b5d75c4d
4 changed files with 11 additions and 4 deletions
|
|
@ -61,6 +61,10 @@
|
|||
|
||||
if($ftp_info->sftp == 'Y')
|
||||
{
|
||||
if(!function_exists(ssh2_sftp))
|
||||
{
|
||||
return new Object(-1,'disable_sftp_support');
|
||||
}
|
||||
return $this->getSFTPList();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue