mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
issue 953 modify host name in ftp connect language
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10356 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c33756ad82
commit
0c586d4d10
4 changed files with 21 additions and 15 deletions
|
|
@ -57,7 +57,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, 'msg_ftp_not_connected');
|
||||
if(!$connection) return new Object(-1, sprintf(Context::getLang('msg_ftp_not_connected'), $ftp_info->ftp_host));
|
||||
$login_result = @ftp_login($connection, $ftp_info->ftp_user, $ftp_info->ftp_password);
|
||||
if(!$login_result)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue