summaryrefslogtreecommitdiffstats
path: root/wp-settings.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-18 08:42:04 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-18 08:42:04 +0000
commit34f273a0a009388878ee31f64561ab4924cd753a (patch)
tree9eda69a26c99d1dbded20d2a43b7a15c62810740 /wp-settings.php
parentf41a1f550824d0a7dc2a209fe4874aa9b1a87c69 (diff)
downloadwordpress-mu-34f273a0a009388878ee31f64561ab4924cd753a.tar.gz
wordpress-mu-34f273a0a009388878ee31f64561ab4924cd753a.tar.xz
wordpress-mu-34f273a0a009388878ee31f64561ab4924cd753a.zip
Don't use getenv()
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@682 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-settings.php')
-rw-r--r--wp-settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-settings.php b/wp-settings.php
index f76e02a..5da913e 100644
--- a/wp-settings.php
+++ b/wp-settings.php
@@ -21,7 +21,7 @@ function unregister_GLOBALS() {
unregister_GLOBALS();
-$HTTP_USER_AGENT = getenv('HTTP_USER_AGENT');
+$HTTP_USER_AGENT = $_SERVER[ 'HTTP_USER_AGENT' ];
unset( $wp_filter, $cache_userdata, $cache_lastcommentmodified, $cache_lastpostdate, $cache_settings, $category_cache, $cache_categories );
if ( ! isset($blog_id) )