mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 13:35:41 +00:00
Strip quote marks from env_values
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user