diff --git a/src/main.php b/src/main.php index 94b0c75..b12d0e7 100644 --- a/src/main.php +++ b/src/main.php @@ -89,7 +89,7 @@ class IFM { if (($value = getenv('IFM_' . strtoupper($key))) !== false) { if (is_numeric($value)) $value = intval($value); - $this->config[$key] = $value; + $this->config[$key] = trim($value, implode(['"', "'"])); // remove quotes from env vars } }