mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-29 08:40:42 +02:00
Don't require a .env file
This commit is contained in:
@@ -11,7 +11,7 @@ require __DIR__ . '/vendor/autoload.php';
|
||||
ini_set('open_basedir', __DIR__);
|
||||
|
||||
// Initialize environment variable handler
|
||||
Dotenv::createImmutable(__DIR__)->load();
|
||||
Dotenv::createImmutable(__DIR__)->safeLoad();
|
||||
|
||||
// Initialize the container
|
||||
$container = new Container();
|
||||
|
Reference in New Issue
Block a user