Stuff
This commit is contained in:
1 parent
e6ad944f79
commit
657975324a
15 files changed
+190
-23
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user