mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
load connexion from connexion file
This commit is contained in:
@@ -51,7 +51,9 @@ class task_Scheduler
|
|||||||
);
|
);
|
||||||
$configuration = new \Alchemy\Phrasea\Core\Configuration($handler);
|
$configuration = new \Alchemy\Phrasea\Core\Configuration($handler);
|
||||||
|
|
||||||
$connexion = $configuration->getConnexion();
|
$choosenConnexion = $configuration->getPhraseanet()->get('database');
|
||||||
|
|
||||||
|
$connexion = $configuration->getConnexion($choosenConnexion);
|
||||||
|
|
||||||
$hostname = $connexion->get('host');
|
$hostname = $connexion->get('host');
|
||||||
$port = $connexion->get('port');
|
$port = $connexion->get('port');
|
||||||
|
Reference in New Issue
Block a user