From 2662755c7f0545cfd68d1edbd6f8cd60c02d8724 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 4 Mar 2020 21:40:17 +0100 Subject: [PATCH] fix some warning in phpUnit, an other try ... --- setup/inc/class.setup.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index e332a071ac..e12fced602 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -253,6 +253,7 @@ class setup case PHP_SESSION_DISABLED: throw new \ErrorException('EGroupware requires PHP session extension!'); case PHP_SESSION_NONE: + if (headers_sent()) return true; ini_set('session.use_cookie', true); session_name(self::SESSIONID); session_set_cookie_params(0, '/', self::cookiedomain(),