Skip to content

Commit

Permalink
Merge pull request #207 from kivudesign/env_remove_serve
Browse files Browse the repository at this point in the history
[FIX] Restrict global variable to access users data
  • Loading branch information
bim-g authored Sep 23, 2024
2 parents 704c414 + 78aeda4 commit f9e9a5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Core/DotEnv.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public function load(): void
if (!array_key_exists($name, $_SERVER) && !array_key_exists($name, $_ENV)) {
putenv(sprintf('%s=%s', $name, $value));
$_ENV[$name] = $value;
$_SERVER[$name] = $value;
}
}
}
Expand Down

0 comments on commit f9e9a5a

Please sign in to comment.