Add Phraseanet CLI application

This commit is contained in:
Romain Neutron
2012-07-26 19:52:45 +02:00
parent f5340ffbad
commit c35eeb21f0
26 changed files with 227 additions and 222 deletions

View File

@@ -54,7 +54,8 @@ class module_console_fieldsMerge extends Command
{
$output->writeln("");
$appbox = \appbox::get_instance(\bootstrap::getCore());
$appbox = $this->getService('phraseanet.appbox');
try {
$databox = $appbox->get_databox((int) $input->getArgument('sbas_id'));
} catch (\Exception $e) {