From 6b31c735f47f623a2280fd6df43fa65b3e88e88d Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 25 Oct 2005 23:44:27 +0000 Subject: [PATCH] LiteSpeed support everything Apache does git-svn-id: https://develop.svn.wordpress.org/trunk@2965 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 a0a5032e13..96031a2911 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