mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
#18532379 FTP 접속 정보 직접 노출되지 않게 수정.(이를 위한 수정들) 수정사항으로 필요해진 설명문 언어파일에 추가.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7026 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
71e8dbc0c9
commit
b0bf3c728f
8 changed files with 57 additions and 9 deletions
|
|
@ -257,6 +257,7 @@
|
|||
**/
|
||||
function dispAdminConfig() {
|
||||
$db_info = Context::getDBInfo();
|
||||
$oInstallController = &getController('install');
|
||||
|
||||
Context::set('sftp_support', function_exists(ssh2_sftp));
|
||||
|
||||
|
|
@ -267,8 +268,17 @@
|
|||
Context::set('langs', Context::loadLangSupported());
|
||||
|
||||
Context::set('lang_selected', Context::loadLangSelected());
|
||||
|
||||
|
||||
$ftp_info = Context::getFTPInfo();
|
||||
// Check if FTP Info is valid.
|
||||
Context::set('ftp_user', $ftp_info->ftp_user);
|
||||
Context::set('ftp_password', $ftp_info->ftp_password);
|
||||
Context::set('ftp_port', $ftp_info->ftp_port);
|
||||
Context::set('sftp', $ftp_info->sftp);
|
||||
!$oInstallController->procInstallCheckFtp()?$ftp_info->is_valid=true:$ftp_info->is_valid=false;
|
||||
Context::set('ftp_user', null);
|
||||
Context::set('ftp_password', null);
|
||||
// Set FTP Info.
|
||||
Context::set('ftp_info', $ftp_info);
|
||||
|
||||
$site_args->site_srl = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue