mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Remove phraseanet services, update configuration
This commit is contained in:
@@ -71,13 +71,12 @@ class module_console_checkExtension extends Command
|
||||
}
|
||||
|
||||
$configuration = $this->getService('phraseanet.configuration');
|
||||
$choosenConnection = $configuration->getPhraseanet()->get('database');
|
||||
$connexion = $configuration->getConnexion($choosenConnection);
|
||||
$hostname = $connexion->get('host');
|
||||
$port = $connexion->get('port');
|
||||
$user = $connexion->get('user');
|
||||
$password = $connexion->get('password');
|
||||
$dbname = $connexion->get('dbname');
|
||||
$connexion = $configuration['main']['database'];
|
||||
$hostname = $connexion['host'];
|
||||
$port = $connexion['port'];
|
||||
$user = $connexion['user'];
|
||||
$password = $connexion['password'];
|
||||
$dbname = $connexion['dbname'];
|
||||
|
||||
$output->writeln("\n-- phrasea_conn --");
|
||||
|
||||
@@ -168,7 +167,7 @@ class module_console_checkExtension extends Command
|
||||
, $base["sbas_id"]
|
||||
, $base["searchcoll"]
|
||||
, $base["arrayq"]
|
||||
, $this->container['phraseanet.registry']->get('GV_sit')
|
||||
, $this->container['phraseanet.configuration']['main']['key']
|
||||
, $usrId
|
||||
, false
|
||||
, PHRASEA_MULTIDOC_DOCONLY
|
||||
|
Reference in New Issue
Block a user