meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plugin:tinymce [2023/12/02 12:49] – [config.php] duncancplugin:tinymce [2023/12/02 12:55] – [config.php] duncanc
Line 54: Line 54:
 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>define('UPLOADIMAGES_DIR', 'upload');</code>
 If the UPLOADIMAGES_DIR value in config.php is set to ''false'' then elFinder will be disabled and image uploading will not be possible. If the UPLOADIMAGES_DIR value in config.php is set to ''false'' then elFinder will be disabled and image uploading will not be possible.
  
Line 61: Line 62:
  
  
-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
  
-<nowiki>https://mysite.com/upload/2/funny_cat.jpg</nowiki>+''<nowiki>https://mysite.com/upload/2/funny_cat.jpg</nowiki>''
  
-To give all admins, including super admins, their own subdirectory add +To give all admins, including super admins, their own subdirectory use 
  
 <code php>define('IMAGE_DIR_PER_ADMIN', 'all');</code> <code php>define('IMAGE_DIR_PER_ADMIN', 'all');</code>