Skip to content

Commit c27ee7d

Browse files
committed
fix: patch up command not found
1 parent e1c6d7b commit c27ee7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

leaf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ require __DIR__ . '/vendor/autoload.php';
3333
| Quickly use our environment variables
3434
|
3535
*/
36-
\Leaf\Core::loadApplicationEnv(__DIR__);
36+
try {
37+
\Dotenv\Dotenv::createUnsafeImmutable(__DIR__)->load();
38+
} catch (\Throwable $th) {
39+
trigger_error($th);
40+
}
3741

3842
/*
3943
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)