mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Strip quote marks from env_values
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
0c9a1a8922
commit
2b5b3273e2
|
@ -59,6 +59,10 @@ foreach ($env as $line_num => $line) {
|
||||||
|
|
||||||
$env_value = trim($env_value);
|
$env_value = trim($env_value);
|
||||||
|
|
||||||
|
// Strip out the quote marks if there are any
|
||||||
|
$env_value = str_replace('"', '',$env_value);
|
||||||
|
$env_value = str_replace("'", '',$env_value);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We set this $app_environment here to determine which version of composer to use, --no-dev or with dev dependencies.
|
* We set this $app_environment here to determine which version of composer to use, --no-dev or with dev dependencies.
|
||||||
|
|
Loading…
Reference in a new issue