Skip to content

Commit 0852f49

Browse files
committed
Bugfix variable names
1 parent fc7511d commit 0852f49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Config/DotEnv.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ public function load(): bool
8383
return false;
8484
}
8585

86-
foreach ($vars as $key => $value)
86+
foreach ($vars as $name => $value)
8787
{
88-
$this->setVariable($line);
88+
$this->setVariable($name, $value);
8989
}
9090

9191
return true; // for success

0 commit comments

Comments
 (0)