summaryrefslogtreecommitdiff
path: root/doc/ucis.ano
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2010-06-11 09:22:45 +0000
committerNick <nick@somerandomnick.ano>2010-06-11 09:22:45 +0000
commit3c3c14021ebf96db815678ce9cca2aef5021df16 (patch)
tree6af9637a4d7e39d13411dee0ff16b19586be8935 /doc/ucis.ano
parent7b158680dac708fc8d9aa74a87d5b6aa4644cd84 (diff)
downloadresdb-3c3c14021ebf96db815678ce9cca2aef5021df16.tar.gz
resdb-3c3c14021ebf96db815678ce9cca2aef5021df16.zip
PHP gets the environment in $_SERVER, not $ENV.
Diffstat (limited to 'doc/ucis.ano')
-rwxr-xr-xdoc/ucis.ano/bgp_graph/bgp_path_list_xml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php b/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php
index c6212f6..a7528a1 100755
--- a/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php
+++ b/doc/ucis.ano/bgp_graph/bgp_path_list_xml.php
@@ -1,6 +1,6 @@
#!/usr/bin/php
<?php
-$mynode = array_key_exists('LOCALNODE',$ENV)?$ENV['LOCALNODE']:0;
+$mynode = array_key_exists('LOCALNODE',$_SERVER)?$_SERVER['LOCALNODE']:0;
$file = STDIN;
$paths = array();