1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00
This commit is contained in:
ericgaspar 2020-12-11 11:39:52 +01:00
parent db43bb992e
commit 2931b0bf59
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 2 deletions

View file

@ -2,7 +2,8 @@
; file automatically generated or modified by Matomo; you can manually override the default values in global.ini.php by redefining them in this file. ; file automatically generated or modified by Matomo; you can manually override the default values in global.ini.php by redefining them in this file.
[database] [database]
host = "127.0.0.1" host = "127.0.0.1"
username = "__DB__" username = "__DB_NAME__"
password = "__DB_PASSWORD__" password = "__DB_PASSWORD__"
dbname = "__DB__" dbname = "__DB_NAME__"
tables_prefix = "matomo_" tables_prefix = "matomo_"

View file

@ -113,6 +113,11 @@ ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion
cp -f ../conf/cron /etc/cron.d/$app cp -f ../conf/cron /etc/cron.d/$app
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="../conf/config.ini.php"
ynh_replace_string --match_string="__DB_PASSWORD__" --replace_string="$db_pwd" --target_file="../conf/config.ini.php"
cp -f ../conf/config.ini.php $final_path/config/config.ini.php
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION
#================================================= #=================================================