diff --git a/bin/dataScoring.php b/bin/dataScoring.php index 49a435ae..431b8215 100644 --- a/bin/dataScoring.php +++ b/bin/dataScoring.php @@ -98,6 +98,7 @@ $connectionParams = array( try { $conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config); + Zend_Registry::set('doctrine', $conn); } catch (\Doctrine\DBAL\DBALException $e) { echo "Connection Database impossible.\n"; exit;