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
- get rid of useless pl_admin account
[nodeconfig.git]
/
getupdatesxml.php
diff --git
a/getupdatesxml.php
b/getupdatesxml.php
index
9acc834
..
e4bd286
100755
(executable)
--- a/
getupdatesxml.php
+++ b/
getupdatesxml.php
@@
-7,7
+7,7
@@
//
// Copyright (C) 2006 The Trustees of Princeton University
//
//
// Copyright (C) 2006 The Trustees of Princeton University
//
-// $Id$
+// $Id
: getupdatesxml.php,v 1.1 2006/11/06 22:02:17 mlhuang Exp
$
//
// Get admin API handle
//
// Get admin API handle
@@
-80,7
+80,7
@@
function xmlspecialchars($string, $parsed = ENT_UNPARSED)
if (!empty($_REQUEST['node_id'])) {
$nodes = $adm->GetSlivers(array(intval($_REQUEST['node_id'])));
} else {
if (!empty($_REQUEST['node_id'])) {
$nodes = $adm->GetSlivers(array(intval($_REQUEST['node_id'])));
} else {
- $nodenetworks = $adm->GetNodeNetworks(array($_SERVER['REMOTE_ADDR']));
+ $nodenetworks = $adm->GetNodeNetworks(array(
'ip' =>
$_SERVER['REMOTE_ADDR']));
if (!empty($nodenetworks)) {
$nodes = $adm->GetSlivers(array($nodenetworks[0]['node_id']));
}
if (!empty($nodenetworks)) {
$nodes = $adm->GetSlivers(array($nodenetworks[0]['node_id']));
}