This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
plugin:tinymce [2023/12/02 12:49] duncanc [config.php] |
plugin:tinymce [2023/12/02 12:58] (current) duncanc [Location of the elFinder directory] |
||
---|---|---|---|
Line 39: | Line 39: | ||
==== Location of the elFinder directory==== | ==== Location of the elFinder directory==== | ||
- | The elFinder directory must be within the web root. If you have the default plugin location, '' | + | The elFinder directory must be within the web root. If you have the default plugin location, '' |
''/ | ''/ | ||
Line 45: | Line 45: | ||
If you have placed the plugin directory outside of the web root then you must move or copy the `elfinder` directory from the plugin' | If you have placed the plugin directory outside of the web root then you must move or copy the `elfinder` directory from the plugin' | ||
- | Also, if you move or rename the phpList directory or the plugin directory after installing the plugin, then you will need | + | Also, if you move or rename the phpList directory or the plugin directory after installing the plugin, then you will need to modify the path because it will not change automatically. |
- | to modify the path because it will not change automatically. | + | |
===== Configuration ===== | ===== Configuration ===== | ||
Line 54: | Line 53: | ||
The UPLOADIMAGES_DIR value in config.php must be set to the location of a directory where elFinder can store uploaded images. The directory must be writable by the web server. Note that the value is relative to the web root and must not contain a leading '/' | The UPLOADIMAGES_DIR value in config.php must be set to the location of a directory where elFinder can store uploaded images. The directory must be writable by the web server. Note that the value is relative to the web root and must not contain a leading '/' | ||
+ | <code php> | ||
If the UPLOADIMAGES_DIR value in config.php is set to '' | If the UPLOADIMAGES_DIR value in config.php is set to '' | ||
Line 61: | Line 61: | ||
- | elFinder will use a subdirectory of UPLOADIMAGES_DIR named after the admin login id (1, 2, 3 etc.), creating the subdirectory on first-use. The subdirectory is private to the admin, and there is no sharing of image files. The URL of an image will therefore be something like this for admin id 2 | + | elFinder will use a subdirectory of UPLOADIMAGES_DIR named after the admin login id (1, 2, 3 etc.). The subdirectory is private to the admin, and there is no sharing of image files with other ordinary admins. The URL of an image will therefore be something like this for admin id 2 |
- | < | + | '' |
- | To give all admins, including super admins, their own subdirectory | + | To give all admins, including super admins, their own subdirectory |
<code php> | <code php> |