mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
[7026] rollback
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7030 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9d8d38b0a0
commit
40309eefea
8 changed files with 9 additions and 57 deletions
|
|
@ -257,7 +257,6 @@
|
|||
**/
|
||||
function dispAdminConfig() {
|
||||
$db_info = Context::getDBInfo();
|
||||
$oInstallController = &getController('install');
|
||||
|
||||
Context::set('sftp_support', function_exists(ssh2_sftp));
|
||||
|
||||
|
|
@ -268,17 +267,8 @@
|
|||
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