From 34f273a0a009388878ee31f64561ab4924cd753a Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 18 Jul 2006 08:42:04 +0000 Subject: Don't use getenv() git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@682 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-settings.php') 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) ) -- cgit