1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emailpoubelle_ynh.git synced 2024-09-03 18:26:29 +02:00

Correct exemple.fr exemple.com

This commit is contained in:
Krakinou 2018-11-24 22:31:17 +01:00 committed by GitHub
parent ff93ab7a08
commit 97d118a6a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,8 @@ if [[ $?==0 ]]; then
#replace old conf and process with install command
mv $final_path/conf.php $final_path/conf.php.old
mv $final_path/conf-dist.new.php $final_path/conf.php
ynh_replace_string "exemple.fr" "$domain" $final_path/conf.php
ynh_replace_string "exemple.com" "$domain" $final_path/conf.php
ynh_replace_string "define('DB', 'sqlite:'" "//define('DB', 'sqlite:'" $final_path/conf.php
ynh_replace_string "define('ALIASLIMITBYMAIL" "//define('ALIASLIMITBYMAIL" $final_path/conf.php
#setting conf file not world-readable (dude, there is a plain-text password !)