mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 03:42:18 +09:00
issue 740 check enviroment for use sftp function
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9972 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1ba2d35a75
commit
77b5d75c4d
4 changed files with 11 additions and 4 deletions
|
|
@ -342,8 +342,6 @@
|
|||
|
||||
$db_info = Context::getDBInfo();
|
||||
|
||||
Context::set('sftp_support', function_exists(ssh2_sftp));
|
||||
|
||||
Context::set('selected_lang', $db_info->lang_type);
|
||||
|
||||
Context::set('default_url', $db_info->default_url);
|
||||
|
|
@ -391,6 +389,7 @@
|
|||
|
||||
$ftp_info = Context::getFTPInfo();
|
||||
Context::set('ftp_info', $ftp_info);
|
||||
Context::set('sftp_support', function_exists(ssh2_sftp));
|
||||
|
||||
$this->setTemplateFile('config_ftp');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue