git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6ee42
)
- provide a global $adm PLCAPI() object
author
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 6 Nov 2006 16:17:50 +0000
(16:17 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 6 Nov 2006 16:17:50 +0000
(16:17 +0000)
php/footer.php
patch
|
blob
|
history
diff --git
a/php/footer.php
b/php/footer.php
index
466ea72
..
6212304
100644
(file)
--- a/
php/footer.php
+++ b/
php/footer.php
@@
-1,3
+1,9
@@
}
+global $adm;
+
+$adm = new PLCAPI(array('AuthMethod' => "capability",
+ 'Username' => PLC_API_MAINTENANCE_USER,
+ 'AuthString' => PLC_API_MAINTENANCE_PASSWORD));
+
?>