mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
fix #2086 FTP host 이름을 노출하지 않도록 변경
This commit is contained in:
parent
f104802ea2
commit
fa1078a0d6
3 changed files with 5 additions and 5 deletions
|
|
@ -54,7 +54,7 @@ class installModel extends install
|
|||
if(function_exists('ftp_connect'))
|
||||
{
|
||||
$connection = ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port);
|
||||
if(!$connection) return new Object(-1, sprintf(lang('msg_ftp_not_connected'), $ftp_info->ftp_host));
|
||||
if(!$connection) return new Object(-1, sprintf(lang('msg_ftp_not_connected'), 'host'));
|
||||
if(! @ftp_login($connection, $ftp_info->ftp_user, $ftp_info->ftp_password))
|
||||
{
|
||||
ftp_close($connection);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue