git://git.onelab.eu
/
nodeconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed undefined var
[nodeconfig.git]
/
PlanetLabConf
/
ntp.conf.php
diff --git
a/PlanetLabConf/ntp.conf.php
b/PlanetLabConf/ntp.conf.php
index
4676c23
..
c284fca
100755
(executable)
--- 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 */