mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 03:23:19 +00:00
Update console commands
This commit is contained in:
@@ -49,7 +49,7 @@ class module_console_systemConfigCheck extends Command
|
||||
$ok = true;
|
||||
|
||||
if (setup::is_installed()) {
|
||||
$registry = registry::get_instance();
|
||||
$registry = $this->container['phraseanet.registry'];
|
||||
|
||||
$output->writeln(_('*** CHECK BINARY CONFIGURATION ***'));
|
||||
$ok = $this->processConstraints(setup::check_binaries($registry), $output) && $ok;
|
||||
@@ -77,7 +77,7 @@ class module_console_systemConfigCheck extends Command
|
||||
$ok = $this->processConstraints(setup::check_phrasea(), $output) && $ok;
|
||||
$output->writeln("");
|
||||
$output->writeln(_('*** CHECK SYSTEM LOCALES ***'));
|
||||
$ok = $this->processConstraints(setup::check_system_locales(), $output) && $ok;
|
||||
$ok = $this->processConstraints(setup::check_system_locales($this->container), $output) && $ok;
|
||||
$output->writeln("");
|
||||
|
||||
$output->write('Finished !', true);
|
||||
|
Reference in New Issue
Block a user