diff options
author | Nick <nick@somerandomnick.ano> | 2010-06-11 09:22:45 +0000 |
---|---|---|
committer | Nick <nick@somerandomnick.ano> | 2010-06-11 09:22:45 +0000 |
commit | 3c3c14021ebf96db815678ce9cca2aef5021df16 (patch) | |
tree | 6af9637a4d7e39d13411dee0ff16b19586be8935 /doc | |
parent | 7b158680dac708fc8d9aa74a87d5b6aa4644cd84 (diff) | |
download | resdb-3c3c14021ebf96db815678ce9cca2aef5021df16.tar.gz resdb-3c3c14021ebf96db815678ce9cca2aef5021df16.zip |
PHP gets the environment in $_SERVER, not $ENV.
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/ucis.ano/bgp_graph/bgp_path_list_xml.php | 2 |
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(); |