From b8edb9642bc9d426eeef5d975ba1421af1e3144f Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 25 Oct 2005 23:44:27 +0000 Subject: [PATCH] LiteSpeed support everything Apache does git-svn-id: http://svn.automattic.com/wordpress/trunk@2965 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/vars.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/vars.php b/wp-includes/vars.php index a0a5032e1..96031a291 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -34,7 +34,7 @@ if (preg_match('/Lynx/', $HTTP_USER_AGENT)) { $is_IE = (($is_macIE) || ($is_winIE)); // Server detection -$is_apache = strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ? 1 : 0; +$is_apache = ( strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') || strstr($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') ) ? 1 : 0; $is_IIS = strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') ? 1 : 0; // if the config file does not provide the smilies array, let's define it here