X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/a793f57ef018e623cd2c5f66a68f839e131fed7d..78a1c41c40bb216e3879220fc544f8ae816d3c1b:/README.md diff --git a/README.md b/README.md index 4ef315b..416ffcc 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Installation steps: - The script will redirect to you to a minimal installation wizard to set up all required options - All optional parameters may be set in ```lib/config.local.php```, take a look at ```lib/config.original.php``` to see all default values - B) Setup without the installation wizard (cli): - - Just copy ```config.original.php``` to ```config.local.php``` and customize it + - Just copy ```lib/config.original.php``` to ```lib/config.local.php``` and customize it ## Upgrade @@ -128,10 +128,11 @@ find files -type f ! -name "*_count" | while read f; do bn="$(basename "$f")"; d find links -type f | while read link; do bn="$(basename "$link")"; mkdir "links/$bn"; mv "$link" "links/$bn/"; done; find links -maxdepth 1 -type d -iname "?" -exec rm -rf {} \; ``` -### From 4.0.0 to 4.1.0 +### From 4.0.0 to 4.1.1 There is nothing special to do to update from/to the following versions: - 4.0.0 -> 4.1.0 +- 4.1.0 -> 4.1.1 ### Troubleshooting @@ -142,7 +143,7 @@ If you have some troubles, consider the following cases ## Security -```var``` directory contain all files and links. It is randomly named to limit access but you may add better protection to prevent un-authorized access to it. +```var``` directory contains all files and links. It is randomly named to limit access but you may add better protection to prevent un-authorized access to it. You have several options: - Configure a ```.htaccess``` - Move var folder to a place on your server which can't be directly accessed @@ -333,9 +334,11 @@ If someone use his/her delete link or an admin cleans expired links, this will d When the counter falls to zero, the file is destroyed. +In order to know if a newly uploaded file already exist, Jirafeau will hash the file using md5 by default but other methods are available (see `file_hash` documentation in `lib/config.original.php`). + ### What is the difference between "delete link" and "delete file and links" in admin interface? -As explained in the previous question, files with the same md5 hash are not duplicated and a reference counter stores the number of links pointing to a single file. +As explained in the previous question, files with the same hash are not duplicated and a reference counter stores the number of links pointing to a single file. So: - The button "delete link" will delete the reference to the file but might not destroy the file. - The button "delete file and links" will delete all references pointing to the file and will destroy the file. @@ -475,3 +478,7 @@ The very first version of Jirafeau after the fork of Jyraphe. - Cosmetic fixes - More languages supported and language fixes +## Version 4.1.1 + +- Fix lang sanity check +