Updated documentation for newly added SFTP driver, removed unavailable demo url, Drupal integration info update, added SFTP volume example and dependencies install info.

This commit is contained in:
667bdrm
2020-11-28 23:27:22 +03:00
parent 9dfa10164b
commit d5f3447cdd
4 changed files with 20 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
elFinder is issued under a 3-clauses BSD license.
Copyright (c) 2009-2018, Studio 42
Copyright (c) 2009-2020, Studio 42
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+3 -4
View File
@@ -47,7 +47,7 @@ Features
upload, create folder/file, rename, etc.)
* High performance server backend and light client UI
* Multi-root support
* Local file system, MySQL, FTP, Box, Dropbox, GoogleDrive and OneDrive volume storage drivers
* Local file system, MySQL, FTP, SFTP, Box, Dropbox, GoogleDrive and OneDrive volume storage drivers
* Support AWS S3, Azure, Digital Ocean Spaces and more with [League\Flysystem](https://github.com/barryvdh/elfinder-flysystem-driver) Flysystem driver
* Cloud storage (Box, Dropbox, GoogleDrive and OneDrive) drivers
* Background file/folder upload with Drag & Drop HTML5 support
@@ -134,7 +134,6 @@ Demo sites
------------
**2.1.x Nightly**
+ https://studio-42.github.io/elFinder/ (with CORS)
+ https://hypweb.net/elFinder-nightly/demo/2.1/
FAQs
------------
@@ -178,7 +177,7 @@ Hint: [How to load CSS with RequireJS?](https://github.com/Studio-42/elFinder/wi
3rd party Integrations
--------------------
* [Django](https://github.com/mikery/django-elfinder)
* [Drupal](https://www.drupal.org/project/elfinder)
* [Drupal](https://gitlab.com/667bdrm/elfinder)
* [Laravel](https://github.com/barryvdh/laravel-elfinder)
* [Roundcube](https://github.com/Offerel/roundcube_elfinder)
* [Symfony](https://github.com/helios-ag/FMElfinderBundle)
@@ -203,7 +202,7 @@ Authors
* Current main developer: Naoki Sawada <hypweb+elfinder@gmail.com>
* Chief developer: Dmitry "dio" Levashov <dio@std42.ru>
* Maintainer: Troex Nevelin <troex@fury.scancode.ru>
* Developers: Alexey Sukhotin <strogg@yandex.ru>, Naoki Sawada <hypweb+elfinder@gmail.com>
* Developers: Alexey Sukhotin, Naoki Sawada <hypweb+elfinder@gmail.com>
* Icons: PixelMixer, [Yusuke Kamiyamane](http://p.yusukekamiyamane.com), [Icons8](https://icons8.com)
We hope our tools will be helpful for you.
+1
View File
@@ -26,6 +26,7 @@ function elFinderAutoloader($name)
'elFinderVolumeGroup' => 'elFinderVolumeGroup.class.php',
'elFinderVolumeLocalFileSystem' => 'elFinderVolumeLocalFileSystem.class.php',
'elFinderVolumeMySQL' => 'elFinderVolumeMySQL.class.php',
'elFinderVolumeSFTPphpseclib' => 'elFinderVolumeSFTPphpseclib.class.php',
'elFinderVolumeTrash' => 'elFinderVolumeTrash.class.php',
);
if (isset($map[$name])) {
+15
View File
@@ -426,6 +426,21 @@ $opts['roots'][] = array_merge($tmbConfig, array(
'accessToken' => '', // @JSON String access token including refresh token
));
// SFTP volume
// Require phpseclib 1 installed (http://phpseclib.sourceforge.net)
// pear install example:
//sudo pear channel-discover phpseclib.sourceforge.net
//sudo pear remote-list -c phpseclib
//sudo pear install phpseclib/Net_SFTP
/*$opts['roots'][] = array_merge($tmbConfig, array(
'phash' => 'g1_Lw', // set parent to Volume group (g1_) root "/" (Lw)
'driver' => 'SFTPphpseclib',
'host' => '127.0.0.1',
'path' => '/tmp', // or folder id as root
'user' => 'test', // @JSON String access token including refresh token
'pass' => 'test',
));*/
// run elFinder
$connector = new elFinderConnector(new elFinder($opts));