mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-08 17:43:07 -05:00
trim values from env
This commit is contained in:
parent
2984c4f8c6
commit
d465bb9cb8
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ $fourget_env = array_filter($env, function($v, $k) {
|
||||||
|
|
||||||
foreach($fourget_env as $key => $val) {
|
foreach($fourget_env as $key => $val) {
|
||||||
$target_key = preg_replace('/^FOURGET_/', '', $key);
|
$target_key = preg_replace('/^FOURGET_/', '', $key);
|
||||||
$config[$target_key] = $val;
|
$config[$target_key] = trim($val, '\'"');
|
||||||
};
|
};
|
||||||
|
|
||||||
function type_to_string($n) {
|
function type_to_string($n) {
|
||||||
|
|
Loading…
Reference in a new issue