mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
Fix configuration usage
This commit is contained in:
@@ -56,7 +56,10 @@ class patch_380alpha3b implements patchInterface
|
||||
*/
|
||||
public function apply(base $appbox, Application $app)
|
||||
{
|
||||
$app['configuration.store']->setDefault('main', 'search-engine');
|
||||
$app['conf']->set(['main', 'search-engine'], [
|
||||
'type' => 'Alchemy\Phrasea\SearchEngine\Phrasea\PhraseaEngine',
|
||||
'options' => [],
|
||||
]);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@@ -13,7 +13,6 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Model\Entities\FtpExport;
|
||||
use Alchemy\Phrasea\Model\Entities\FtpExportElement;
|
||||
use Gedmo\Timestampable\TimestampableListener;
|
||||
use Doctrine\ORM\NoResultException;
|
||||
|
||||
class patch_390alpha6a extends patchAbstract
|
||||
{
|
||||
|
Reference in New Issue
Block a user