#9893 changed connect 2
This commit is contained in:
parent
e6d2cc3cfa
commit
8c5e59afee
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue