X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FSettings.md;h=ed25e580a2810176b01c2f20a9f8c4d5ec6218c6;hb=40e9bbeb88961e494510a18f24d595abfb83f9f8;hp=4795a0402d8e61d125276eab0a48658fc97bb24c;hpb=fabc90e9dd5f1c4280a9bfa6c6930a3fc985f87a;p=friendica.git diff --git a/doc/Settings.md b/doc/Settings.md index 4795a0402d..ed25e580a2 100644 --- a/doc/Settings.md +++ b/doc/Settings.md @@ -101,6 +101,32 @@ Default is false. ### File upload +#### File storage backend + +Set the backend used by Friendica to store uploaded file data. +Two storage backends are avaiable with Friendica: + +- **Database** : Data is stored in a dedicated table in database (`storage`) +- **Filesystem** : Data is stored as file on the filesystem. + +More storage backends can be avaiable from third-party addons. +If you use those, please refer to the documentation of those addons for further information. + +Default value is 'Database (legacy)': it's the legacy way used to store data directly in database. + +Existing data can be moved to the current active backend using the ['storage move' console command](help/tools) + +If selected backend has configurable options, new fields are shown here. + +##### Filesystem: Storage base path + +The base path where Filesystem storage backend saves data. + +For maximum security, this path should be outside the folder tree served by the web server: this way files can't be downloaded bypassing the privacy checks. + +Default value is `storage`, that is the `storage` folder in Friendica code root folder. + + #### Maximum Image Size Maximum size in bytes of uploaded images.