mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
#11391 Fixed https
This commit is contained in:
parent
06e42de207
commit
3479245a6b
@ -1685,6 +1685,10 @@ function config_update_config()
|
|||||||
if (config_update_value('elasticsearch_pass', get_parameter('elasticsearch_pass'), true) === false) {
|
if (config_update_value('elasticsearch_pass', get_parameter('elasticsearch_pass'), true) === false) {
|
||||||
$error_update[] = __('Pass ElasticSearch server');
|
$error_update[] = __('Pass ElasticSearch server');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config_update_value('elasticsearch_https', get_parameter('elasticsearch_https'), true) === false) {
|
||||||
|
$error_update[] = __('Https ElasticSearch server');
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'hist_db':
|
case 'hist_db':
|
||||||
@ -2500,6 +2504,10 @@ function config_process_config()
|
|||||||
config_update_value('elasticsearch_pass', '');
|
config_update_value('elasticsearch_pass', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($config['elasticsearch_https'])) {
|
||||||
|
config_update_value('elasticsearch_https', '');
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($config['font_size'])) {
|
if (!isset($config['font_size'])) {
|
||||||
config_update_value('font_size', 8);
|
config_update_value('font_size', 8);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user