--- alx-src/branches/alx-web-050/index.php 2010/12/02 22:13:04 1608 +++ alx-src/branches/alx-web-050/index.php 2010/12/02 22:15:08 1609 @@ -24,6 +24,7 @@ function check_online($dat, $bla) { global $comps; + global $pingcmd; if(!isset($comps[$dat['serial']])) return false; //passthru("/bin/ping -I eth0 -c 1 -W 1 -q ".$dat['ip']." &> /dev/null && exit 0 || exit 1",$retval);