mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-02-26 03:21:57 +01:00
fix: use array_key_exists on $_ENV to determine if mariadb key is set
This commit is contained in:
parent
8a04cab4b5
commit
008be9a31d
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
?string $database = ""
|
||||
) {
|
||||
// Create key if it does not exist
|
||||
if (!$_ENV["mariadb"]) {
|
||||
if (!array_key_exists("mariadb", $_ENV)) {
|
||||
$_ENV["mariadb"] = [];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue