summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorlolcat <lolcat@no-reply@lolcat.ca>2024-01-17 10:23:47 -0600
committerlolcat <lolcat@no-reply@lolcat.ca>2024-01-17 10:23:47 -0600
commit799916cfb4a8f3135e81c07a1865fa131507ec56 (patch)
tree56acf81292c986b4309c630c17217ba5b87834e9 /docker
parent2984c4f8c6c43da1563ae3be2adfd5616848eff0 (diff)
parentd465bb9cb8e05ee7159bdea842d831ea99aa4e7a (diff)
Merge pull request 'trim values from env' (#25) from feature/fix_gen_config into master
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/25 hot
Diffstat (limited to 'docker')
-rw-r--r--docker/gen_config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/gen_config.php b/docker/gen_config.php
index 71fd721..a68f87c 100644
--- a/docker/gen_config.php
+++ b/docker/gen_config.php
@@ -13,7 +13,7 @@ $fourget_env = array_filter($env, function($v, $k) {
foreach($fourget_env as $key => $val) {
$target_key = preg_replace('/^FOURGET_/', '', $key);
- $config[$target_key] = $val;
+ $config[$target_key] = trim($val, '\'"');
};
function type_to_string($n) {