Skip to content

Commit efe2d8f

Browse files
committed
Update load.environment for phpdotenv 4.x.
1 parent ce975c0 commit efe2d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

load.environment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* Load any .env file. See /.env.example.
1313
*/
14-
$dotenv = new Dotenv(__DIR__);
14+
$dotenv = Dotenv::createImmutable(__DIR__);
1515
try {
1616
$dotenv->load();
1717
}

0 commit comments

Comments
 (0)