diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-18 08:42:04 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-18 08:42:04 +0000 |
commit | 34f273a0a009388878ee31f64561ab4924cd753a (patch) | |
tree | 9eda69a26c99d1dbded20d2a43b7a15c62810740 /wp-settings.php | |
parent | f41a1f550824d0a7dc2a209fe4874aa9b1a87c69 (diff) | |
download | wordpress-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.php | 2 |
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) ) |