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

comment the key added with the install script

This commit is contained in:
Robles Rodolphe 2020-08-28 16:24:53 +02:00
parent 4224b4c904
commit 649a74f3e2

View file

@ -155,7 +155,7 @@ ynh_add_fpm_config
#=================================================
ynh_script_progression --message="final configuration needed..." --time --weight=1
# key=$(ynh_string_random --length=50)
# key=$(ynh_string_random --length=50)
cp -a $final_path/config.dist.php $final_path/config.local.php
# ynh_replace_string --match_string="const SECRET_KEY = '3xUhIgGwuovRKOjVsVPQ5yUMfXUSIOX2GKzcebsz5OINrYC50r';" --replace_string="const SECRET_KEY = '$key';" --target_file="$final_path/config.local.php"
if [ "$path_url" == "/" ]