Skip to content
Offerel edited this page Jan 19, 2018 · 7 revisions

Welcome to the roundcube_elfinder wiki!

I would like to try to give some hints for installation and updates.

How is the path to the folder displayed by the plugin in the GUI calculated?

The path consists of: $config[' storage_basepath'] + Roundcube username + $config[' storage_filespath']. This is an absolute path. This construct ensures that every user has his own folder. In addition, $config[' storage_filespath'] ensures that the root directory of the user is not entered directly. If this is desired, you can leave this variable empty.

How can I update elFinder?

elFinder is located in the separate subfolder "elfinder" of the plugin. In principle, this folder can be overwritten with a newer elFinder version. However, since several files have been modified, some files will not be found after such an update.

Why were elFinder files modified?

The only reason for the changes is the request that all requests come from your own server. In the original elFinder, however, several files are loaded from external Cloudflare servers. This has advantages, especially in terms of performance and possible updates. But there are also disadvantages, especially in terms of security and privacy.

Which files have been changed and in what way?

Roughly speaking, the references to all files on //cdnjs.cloudflare.com//.* have been replaced in such a way that the files in question have been downloaded and the path has been changed to local versions of these files. These changes must be made manually during a manual update. For example: //cdnjs.cloudflare.com/ajax/libs/require.js/2.3.5/require.min.js has been changed to js/require.min.js.

Clone this wiki locally