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

@@ -41,7 +41,7 @@ class module_console_sphinxGenerateSuggestion extends Command
define('FREQ_THRESHOLD', 10);
define('SUGGEST_DEBUG', 0);
$appbox = \appbox::get_instance(\bootstrap::getCore());
$appbox = $this->getService('phraseanet.appbox');
$registry = $appbox->get_registry();
$params = phrasea::sbas_params();