mirror of
https://github.com/YunoHost-Apps/matomo_ynh.git
synced 2024-09-03 19:45:56 +02:00
Fix
This commit is contained in:
parent
db43bb992e
commit
2931b0bf59
2 changed files with 8 additions and 2 deletions
|
@ -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.
|
||||
[database]
|
||||
host = "127.0.0.1"
|
||||
username = "__DB__"
|
||||
username = "__DB_NAME__"
|
||||
password = "__DB_PASSWORD__"
|
||||
dbname = "__DB__"
|
||||
dbname = "__DB_NAME__"
|
||||
tables_prefix = "matomo_"
|
||||
|
||||
|
|
|
@ -113,6 +113,11 @@ ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion
|
|||
|
||||
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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue