You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$records = $this->db->queryAllRecords('SELECT * FROM '.$conf['mysql']['master_database'].'.server_ip WHERE server_id = '.$conf['server_id']." AND virtualhost = 'y'");
651
-
652
+
$ip_addresses = array();
653
+
652
654
if(is_array($records) && count($records) > 0) {
653
655
foreach($recordsas$rec) {
654
656
if($rec['ip_type'] == 'IPv6') {
@@ -661,15 +663,17 @@ public function configure_apache()
$records = $this->db->queryAllRecords('SELECT * FROM '.$conf['mysql']['master_database'].'.server_ip WHERE server_id = '.$conf['server_id']." AND virtualhost = 'y'");
$records = $this->db->queryAllRecords('SELECT * FROM '.$conf['mysql']['master_database'].'.server_ip WHERE server_id = '.$conf['server_id']." AND virtualhost = 'y'");
666
-
667
+
$ip_addresses = array();
668
+
667
669
if(is_array($records) && count($records) > 0) {
668
670
foreach($recordsas$rec) {
669
671
if($rec['ip_type'] == 'IPv6') {
@@ -676,15 +678,17 @@ public function configure_apache()
0 commit comments