From 90aadf7174273e2486318e8d07bdd8bb95f404ed Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Mon, 19 Apr 2004 18:33:13 +0000 Subject: [PATCH] silence session_start when multiple sessions are started at once (e.g. loading a tab group in moz). Doesn't seem to be a bug, but i didn't investigate it really. --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index 71b96ead6a..509183d20a 100644 --- a/includes/User.php +++ b/includes/User.php @@ -144,7 +144,7 @@ class User { } session_set_cookie_params( 0, $wgCookiePath, $wgCookieDomain ); session_cache_limiter( "private, must-revalidate" ); - session_start(); + @session_start(); } /* static */ function loadFromSession() -- 2.20.1