1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

also update config settings for plugins installed during runtime (#447)

* also update config settings for plugins installed during runtime
* update webapp example
* skip duplicate handling of config.php
* add todo
This commit is contained in:
Felix Bartels
2020-09-21 16:14:47 +02:00
committed by GitHub
parent 56722ee6fc
commit 0dd0f49866
3 changed files with 25 additions and 7 deletions
+1
View File
@@ -13,6 +13,7 @@ php_cfg_gen() {
return
fi
case $cfg_value in
# TODO stop after the first match
true|TRUE|false|FALSE)
sed -ri "s#(\s*define).+${cfg_setting}.+#\tdefine(\x27${cfg_setting}\x27, ${cfg_value}\);#g" "$cfg_file"
;;