mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
fix appbox::get_instance issue
This commit is contained in:
@@ -37,7 +37,7 @@ class module_console_fieldsList extends Command
|
|||||||
public function execute(InputInterface $input, OutputInterface $output)
|
public function execute(InputInterface $input, OutputInterface $output)
|
||||||
{
|
{
|
||||||
|
|
||||||
$appbox = \appbox::get_instance();
|
$appbox = \appbox::get_instance(\bootstrap::getCore());
|
||||||
|
|
||||||
foreach ($appbox->get_databoxes() as $databox)
|
foreach ($appbox->get_databoxes() as $databox)
|
||||||
{
|
{
|
||||||
|
@@ -40,7 +40,7 @@ class module_console_sphinxGenerateSuggestion extends Command
|
|||||||
define('FREQ_THRESHOLD', 10);
|
define('FREQ_THRESHOLD', 10);
|
||||||
define('SUGGEST_DEBUG', 0);
|
define('SUGGEST_DEBUG', 0);
|
||||||
|
|
||||||
$appbox = \appbox::get_instance();
|
$appbox = \appbox::get_instance(\bootstrap::getCore());
|
||||||
$registry = $appbox->get_registry();
|
$registry = $appbox->get_registry();
|
||||||
|
|
||||||
$params = phrasea::sbas_params();
|
$params = phrasea::sbas_params();
|
||||||
|
Reference in New Issue
Block a user