Fix configuration usage

This commit is contained in:
Romain Neutron
2014-02-21 17:45:07 +01:00
parent 8a9b6d5d3c
commit de13d874a3
36 changed files with 92 additions and 127 deletions

View File

@@ -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;
}

View File

@@ -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
{