We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c6d7b commit c27ee7dCopy full SHA for c27ee7d
1 file changed
leaf
@@ -33,7 +33,11 @@ require __DIR__ . '/vendor/autoload.php';
33
| Quickly use our environment variables
34
|
35
*/
36
-\Leaf\Core::loadApplicationEnv(__DIR__);
+try {
37
+ \Dotenv\Dotenv::createUnsafeImmutable(__DIR__)->load();
38
+} catch (\Throwable $th) {
39
+ trigger_error($th);
40
+}
41
42
/*
43
|--------------------------------------------------------------------------
0 commit comments