From 4f1eb6c0b00be8e9e963d4f68c7937061b17f765 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 16 Mar 2011 22:48:47 +0000 Subject: [PATCH] Another old version checking thing --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 53af63c8b2..592acc3276 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3743,7 +3743,7 @@ $wgCookiePrefix = false; * * Only supported on PHP 5.2 or higher. */ -$wgCookieHttpOnly = version_compare("5.2", PHP_VERSION, "<"); +$wgCookieHttpOnly = true; /** * If the requesting browser matches a regex in this blacklist, we won't -- 2.20.1