diff --git a/src/dependencies.php b/src/dependencies.php index 4950c53..060de1a 100644 --- a/src/dependencies.php +++ b/src/dependencies.php @@ -50,7 +50,7 @@ $container->set(EntityManager::class, static function() { $connection = DriverManager::getConnection([ 'driver' => 'pdo_sqlite', - 'path' => __DIR__ . '/../' . getenv("SQLITE_DB_NAME"), + 'path' => __DIR__ . '/../' . $_ENV["SQLITE_DB_NAME"], ], $config); $connection->executeQuery("PRAGMA foreign_keys = ON");