#9893 changed connect 2

This commit is contained in:
Daniel Maya 2023-02-27 15:50:26 +01:00
parent e6d2cc3cfa
commit 8c5e59afee
1 changed files with 3 additions and 3 deletions

View File

@ -155,10 +155,10 @@ if (! defined('ENTERPRISE_DIR')) {
db_select_engine();
if (empty($config['remote_config']) === false
&& file_exists($config['remote_config'].'/'.PANDORA_HA_FILE)
&& filesize($config['remote_config'].'/'.PANDORA_HA_FILE) > 0
&& file_exists($config['remote_config'].'/conf/'.PANDORA_HA_FILE)
&& filesize($config['remote_config'].'/conf/'.PANDORA_HA_FILE) > 0
) {
$data = file_get_contents($config['remote_config'].'/'.PANDORA_HA_FILE);
$data = file_get_contents($config['remote_config'].'/conf/'.PANDORA_HA_FILE);
if (empty($data) === false) {
$ip_list = explode(',', $data);
// Connects to the first pandora_ha_dbs.conf database.