From e92c77df9bf7700a3c6ae1b660732d6de82003f7 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Thu, 9 Apr 2020 14:58:29 +0200 Subject: [PATCH] create secret key script on install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index eb6fc13..2020f7f 100644 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,7 @@ systemctl reload nginx # Change options in file config.dist.php # and copy in local.dist.php #================================================= -key=$(ynh_string_random --length=8) +key=$(ynh_string_random --length=64) cp -a $final_path/config.dist.php $final_path/config.local.php ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url/';" --target_file="$final_path/config.local.php"