diff options
author | throwaway <developerthrowaway@protonmail.com> | 2024-01-17 02:07:21 -0800 |
---|---|---|
committer | throwaway <developerthrowaway@protonmail.com> | 2024-01-17 02:07:21 -0800 |
commit | d465bb9cb8e05ee7159bdea842d831ea99aa4e7a (patch) | |
tree | 56acf81292c986b4309c630c17217ba5b87834e9 /docker/gen_config.php | |
parent | 2984c4f8c6c43da1563ae3be2adfd5616848eff0 (diff) |
trim values from env
Diffstat (limited to 'docker/gen_config.php')
-rw-r--r-- | docker/gen_config.php | 2 |
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) { |