From 8169ffcd5ddc26732c114ea98836676cd67f8556 Mon Sep 17 00:00:00 2001 From: s-ko Date: Sat, 27 Sep 2014 21:47:07 +0100 Subject: [PATCH] :memo: Updated available options doc --- README.md | 45 ++++++++++++++++++++------------------------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 0937f48..c0ad444 100644 --- a/README.md +++ b/README.md @@ -13,51 +13,46 @@ Just drop a PHP file in any directory. It will work straight away There are few options that you can change by editing the file itself: -- `uploaddir` => `'.'` - Directory to store uploaded files +- Directory to store uploaded files -- `listfiles` => `true` - Display list uploaded files + `uploaddir` => `'.'` +- Display list uploaded files -- `listfiles_size` => `true` - Display file sizes + `listfiles` => `true` +- Allow users to delete files that they have uploaded (will enable sessions) -- `listfiles_date` => `true` - Display file dates + `allow_deletion` => `true` +- Display file sizes -- `listfiles_date_format` => `'F d Y H:i:s'` - Display file dates format + `listfiles_size` => `true` +- Display file dates -- `random_name_len` => `10` - Randomize file names (number of 'false') + `listfiles_date` => `true` +- Display file dates format -- `random_name_keep_type` => `true` - Keep filetype information (if random name is activated) + `listfiles_date_format` => `'F d Y H:i:s'` +- Randomize file names (number of 'false') -- `random_name_alphabet` => `'qwertyuiodfgjkcvbnm'` - Random file name letters + `random_name_len` => `4` +- Keep filetype information (if random name is activated) -- `debug` => `false` - Display debugging information + `random_name_keep_type` => `true` +- Random file name letters + `random_name_alphabet` => `'qwertyuiopasdfghjklzxcvbnm'` -- `uploaddir => '.'` - Directory to store the uploaded files. Defaults to rurrect script directory +- Display debugging information -- `listfiles => true` - Option that will list all files in uploads directory. Enabled by default - -- `debug => false` - To display debugging information + `debug` => `($_SERVER['SERVER_NAME'] === 'localhost')` ## Usage options -- 2.39.5