mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Change instantiation of ORMs to allow adding listeners.
This commit is contained in:
@@ -69,6 +69,7 @@ $cli = new CLI("
|
||||
. ' Phraseanet Developer Tools ', $version->getName() . ' ' . $version->getNumber());
|
||||
|
||||
if ($cli['configuration.store']->isSetup()) {
|
||||
$cli->loadPlugins();
|
||||
$helpers = [
|
||||
'db' => new ConnectionHelper($cli['orm.em']->getConnection()),
|
||||
'em' => new EntityManagerHelper($cli['orm.em'])
|
||||
|
Reference in New Issue
Block a user