1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

put same lenght for secret key then the example in config.dist.php script for install

This commit is contained in:
Robles Rodolphe 2020-04-09 15:06:34 +02:00
parent e92c77df9b
commit d689169e14

View file

@ -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=64)
key=$(ynh_string_random --length=50)
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"