summaryrefslogtreecommitdiff
path: root/docker/gen_config.php
diff options
context:
space:
mode:
authorthrowaway <developerthrowaway@protonmail.com>2024-01-17 02:07:21 -0800
committerthrowaway <developerthrowaway@protonmail.com>2024-01-17 02:07:21 -0800
commitd465bb9cb8e05ee7159bdea842d831ea99aa4e7a (patch)
tree56acf81292c986b4309c630c17217ba5b87834e9 /docker/gen_config.php
parent2984c4f8c6c43da1563ae3be2adfd5616848eff0 (diff)
trim values from env
Diffstat (limited to 'docker/gen_config.php')
-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) {