This commit is contained in:
Lewis Dale committed 2024-09-17 21:52:08 +01:00
1 parent e6ad944f79
commit 657975324a
15 files changed
+190 -23

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ $container->set(EntityManager::class, static function() {
$connection = DriverManager::getConnection([
'driver' => 'pdo_sqlite',
'path' => __DIR__ . '/../' . $_ENV["SQLITE_DB_NAME"],
'path' => __DIR__ . '/../' . getenv("SQLITE_DB_NAME"),
], $config);
return new EntityManager($connection, $config);