Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 92278fa

Browse files
committed
👽 updated dotenv script
1 parent 69f741c commit 92278fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
|
2222
*/
2323
try {
24-
\Dotenv\Dotenv::create(__DIR__)->load();
24+
\Dotenv\Dotenv::createUnsafeImmutable(__DIR__)->load();
2525
} catch (\Throwable $th) {
2626
trigger_error($th);
2727
}

leaf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Leaf\Core::paths(PathsConfig());
3333
|
3434
*/
3535
try {
36-
\Dotenv\Dotenv::create(__DIR__)->load();
36+
\Dotenv\Dotenv::createUnsafeImmutable(__DIR__)->load();
3737
} catch (\Throwable $th) {
3838
trigger_error($th);
3939
}

0 commit comments

Comments
 (0)