mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
update config
This commit is contained in:
@@ -84,11 +84,16 @@ class patch_410alpha20a implements patchInterface
|
||||
$app['conf']->set(['geocoding-providers', 0, 'map-provider'], $geocodingName);
|
||||
}
|
||||
|
||||
// remove registry classic section
|
||||
// remove registry classic section if exist
|
||||
if ($app['conf']->has(['registry', 'classic'])) {
|
||||
$app['conf']->remove(['registry', 'classic']);
|
||||
}
|
||||
|
||||
// remove bridge section if exist
|
||||
if ($app['conf']->has(['main', 'bridge'])) {
|
||||
$app['conf']->remove(['main', 'bridge']);
|
||||
}
|
||||
|
||||
// insert RGPD bloc if not exist
|
||||
if (!$app['conf']->has(['user_account', 'deleting_policies', 'email_confirmation'])) {
|
||||
$app['conf']->set(['user_account', 'deleting_policies', 'email_confirmation'], true);
|
||||
|
||||
@@ -94,6 +94,7 @@ main:
|
||||
download: null
|
||||
lazaret: null
|
||||
caption: null
|
||||
tmp_files: null
|
||||
|
||||
trusted-proxies: []
|
||||
debugger:
|
||||
|
||||
Reference in New Issue
Block a user