mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-6854-Warning-feo-arrancar-servidor' into 'develop'
Added fix Closes pandora_enterprise#6854 See merge request artica/pandorafms!3726
This commit is contained in:
commit
ccf806755b
@ -1055,7 +1055,7 @@ else {
|
|||||||
my $dbh = db_connect ($conf{'dbengine'}, $conf{'dbname'}, $conf{'dbhost'}, $conf{'dbport'}, $conf{'dbuser'}, $conf{'dbpass'});
|
my $dbh = db_connect ($conf{'dbengine'}, $conf{'dbname'}, $conf{'dbhost'}, $conf{'dbport'}, $conf{'dbuser'}, $conf{'dbpass'});
|
||||||
my $history_dbh = undef;
|
my $history_dbh = undef;
|
||||||
is_metaconsole(\%conf);
|
is_metaconsole(\%conf);
|
||||||
if ($conf{'_history_db_enabled'} eq '1') {
|
if (defined($conf{'_history_db_enabled'}) && $conf{'_history_db_enabled'} eq '1') {
|
||||||
eval {
|
eval {
|
||||||
$conf{'encryption_key'} = enterprise_hook('pandora_get_encryption_key', [\%conf, $conf{'encryption_passphrase'}]);
|
$conf{'encryption_key'} = enterprise_hook('pandora_get_encryption_key', [\%conf, $conf{'encryption_passphrase'}]);
|
||||||
$history_dbh = db_connect ($conf{'dbengine'}, $conf{'_history_db_name'}, $conf{'_history_db_host'}, $conf{'_history_db_port'}, $conf{'_history_db_user'}, pandora_output_password(\%conf, $conf{'_history_db_pass'}));
|
$history_dbh = db_connect ($conf{'dbengine'}, $conf{'_history_db_name'}, $conf{'_history_db_host'}, $conf{'_history_db_port'}, $conf{'_history_db_user'}, pandora_output_password(\%conf, $conf{'_history_db_pass'}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user