From 69f9be5f9b1cd0c6624919fa04b22fa978f00e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Fri, 26 Mar 2021 16:04:17 +0100 Subject: [PATCH] fix: default host configuration and usage.md --- hosts/localhost/config.php | 3 ++- hosts/localhost/content/usage.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/localhost/config.php b/hosts/localhost/config.php index a092b58..29d6891 100644 --- a/hosts/localhost/config.php +++ b/hosts/localhost/config.php @@ -11,4 +11,5 @@ define('ACCESS_IP', ''); define('HISTORY_FILE', 'history'); define('MAX_HISTORY_FILES', 5); define('LANGUAGE', 'en'); -define('PRIVATE',false); \ No newline at end of file +define('ACCESS_PRIVATE',false); +define('PHOTO_EXT','jpg,svg,gif,png,webp'); diff --git a/hosts/localhost/content/usage.md b/hosts/localhost/content/usage.md index 0ba9fb3..56cffa4 100644 --- a/hosts/localhost/content/usage.md +++ b/hosts/localhost/content/usage.md @@ -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 -``` \ No newline at end of file +```