fix: correctly handle =
in .env
This commit is contained in:
parent
676709e706
commit
d898ccd8e0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Env
|
|||
$data = explode("\n", $data);
|
||||
|
||||
foreach ($data as &$row) {
|
||||
$row = explode('=', $row);
|
||||
$row = explode('=', $row, 2);
|
||||
$key = (isset($row[0])) ? trim($row[0]) : null;
|
||||
$value = (isset($row[1])) ? trim($row[1]) : null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue