From 53a62982b8c537f679b4d699c993dc655915d82d Mon Sep 17 00:00:00 2001 From: mattab Date: Fri, 21 Feb 2014 12:18:32 +1300 Subject: During tests, we shall load plugins that are in the .gitmodule file (official plugins found in marketplace), as well as loading those that are in the global.ini.php (official plugins bundled in piwik). --- core/Session.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/Session.php') diff --git a/core/Session.php b/core/Session.php index 871ae1650a..7109dd0db2 100644 --- a/core/Session.php +++ b/core/Session.php @@ -39,7 +39,8 @@ class Session extends Zend_Session */ public static function start($options = false) { - if (self::$sessionStarted + if (headers_sent() + || self::$sessionStarted || (defined('PIWIK_ENABLE_SESSION_START') && !PIWIK_ENABLE_SESSION_START) ) { return; -- cgit v1.2.3