fix: default host configuration and usage.md

This commit is contained in:
Nicolas Hordé 2021-03-26 16:04:17 +01:00
parent 31ebbb4464
commit 69f9be5f9b
2 changed files with 4 additions and 3 deletions

View File

@ -11,4 +11,5 @@ define('ACCESS_IP', '');
define('HISTORY_FILE', 'history');
define('MAX_HISTORY_FILES', 5);
define('LANGUAGE', 'en');
define('PRIVATE',false);
define('ACCESS_PRIVATE',false);
define('PHOTO_EXT','jpg,svg,gif,png,webp');

View File

@ -45,7 +45,7 @@ define('ACCESS_IP', '');
define('HISTORY_FILE', 'history.txt');
define('MAX_HISTORY_FILES', 5);
define('LANG', 'en');
define('ACCESS_PRIVATE', 'en');
define('ACCESS_PRIVATE', 'false');
```
**NOTE**:
@ -54,4 +54,4 @@ There is no default password. To generate it, use the sha512sum command line lik
```bash
user@computer:~$ echo -en "password"|sha512sum|cut -d " " -f1
b109f3bbbc244eb82441917ed06d618b9008dd09b3befd1b5e07394c706a8bb980b1d7785e5976ec049b46df5f1326af5a2ea6d103fd07c95385ffab0cacbc86
```
```