Project

General

Profile

« Previous | Next » 

Revision 52bd375c

Added by Bill Marquette almost 17 years ago

oh how I hate thee php array

View differences:

etc/inc/vslb.inc
128 128

  
129 129
  $check_a = array();
130 130

  
131
  foreach ($config['load_balancer']['monitor_type'] as $type) {
131
  foreach ((array)$config['load_balancer']['monitor_type'] as $type) {
132 132
    switch($type['type']) {
133 133
      case 'icmp': {
134 134
        $mon = new ICMPMonitor($type['options']);

Also available in: Unified diff