mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
#19709334: FTP 포트 기본 값(21번) 적용 되도록 JS filter 수정, 포트
번호에 숫자 외 값 입력할 수 없도록 FS filter 수정, 만일의 경우 숫자 외의 값을 입력했을 때 자동으로 포트 번호 21로 적용하도록 수정. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8333 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1713666795
commit
adfb5af1d2
2 changed files with 2 additions and 3 deletions
|
|
@ -54,8 +54,7 @@
|
|||
$ftp_info->ftp_host = "127.0.0.1";
|
||||
}
|
||||
|
||||
if (!$ftp_info->ftp_port)
|
||||
{
|
||||
if (!$ftp_info->ftp_port || !is_numeric ($ftp_info->ftp_port)) {
|
||||
$ftp_info->ftp_port = "21";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<filter name="install_ftp_info" module="install" act="procInstallAdminSaveFTPInfo" >
|
||||
<form>
|
||||
<node target="ftp_user" required="true" />
|
||||
<node target="ftp_port" required="true" />
|
||||
<node target="ftp_port" required="false" filter="number" />
|
||||
<node target="ftp_root_path" required="true" />
|
||||
<node target="sftp" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue