X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PlanetLabConf%2Fntp.conf.php;h=c284fca0c8af9113d0376c8f5b70337e8df0f4ba;hb=67ab8f5e8b708de56732ea658cdc6ae44753a7b8;hp=4676c2372caa021352b4373bb5e18ebb2f26f38d;hpb=575bd353671d6879ee5c849d9774c38c96b3e465;p=nodeconfig.git diff --git a/PlanetLabConf/ntp.conf.php b/PlanetLabConf/ntp.conf.php index 4676c23..c284fca 100755 --- a/PlanetLabConf/ntp.conf.php +++ b/PlanetLabConf/ntp.conf.php @@ -42,6 +42,10 @@ if (!empty($sites)) { $site_name= $sites[0]['name']; $mylat= $sites[0]['latitude']; $mylong= $sites[0]['longitude']; +} else { + $site_name= "Unknown"; + $mylat= 0; + $mylong= 0; } /* typical NTP settings */