mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 18:02:15 +09:00
Simplify FTP configuration using new format
This commit is contained in:
parent
673cd48db0
commit
a36bc03970
9 changed files with 155 additions and 201 deletions
|
|
@ -499,16 +499,10 @@ class adminAdminView extends admin
|
|||
*/
|
||||
function dispAdminConfigFtp()
|
||||
{
|
||||
Context::loadLang('modules/install/lang');
|
||||
|
||||
$ftp_info = Context::getFTPInfo();
|
||||
Context::set('ftp_info', $ftp_info);
|
||||
Context::set('sftp_support', function_exists(ssh2_sftp));
|
||||
Context::set('ftp_info', Rhymix\Framework\Config::get('ftp'));
|
||||
Context::set('sftp_support', function_exists('ssh2_sftp'));
|
||||
|
||||
$this->setTemplateFile('config_ftp');
|
||||
|
||||
//$security = new Security();
|
||||
//$security->encodeHTML('ftp_info..');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue