git://git.onelab.eu
/
nodeconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575bd35
)
quiet PHP undefined variable use warnings
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Sun, 18 Jan 2009 15:38:36 +0000
(15:38 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Sun, 18 Jan 2009 15:38:36 +0000
(15:38 +0000)
PlanetLabConf/ntp.conf.php
patch
|
blob
|
history
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 */