update config

This commit is contained in:
aynsix
2019-12-17 14:34:18 +04:00
parent 63d2f1cf54
commit c40802265d
3 changed files with 8 additions and 21 deletions

View File

@@ -62,12 +62,6 @@ main:
mp4box_timeout: 60
swftools_timeout: 60
unoconv_timeout: 60
task-manager:
status: started
listener:
protocol: tcp
host: 127.0.0.1
port: 6700
storage:
subdefs: null
cache: null
@@ -75,20 +69,7 @@ main:
download: null
lazaret: null
caption: null
bridge:
youtube:
enabled: false
client_id: null
client_secret: null
developer_key: null
flickr:
enabled: false
client_id: null
client_secret: null
dailymotion:
enabled: false
client_id: null
client_secret: null
tmp_files: null
border-manager:
enabled: true
extension-mapping:

View File

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

View File

@@ -94,6 +94,7 @@ main:
download: null
lazaret: null
caption: null
tmp_files: null
trusted-proxies: []
debugger: