Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-02-21 03:18:32 +0400
committermattab <matthieu.aubry@gmail.com>2014-02-21 03:18:32 +0400
commit53a62982b8c537f679b4d699c993dc655915d82d (patch)
tree30e26d58b3d480c1437109bb7f0ce1d9c1a9ce77 /core/Session.php
parent9742718f792c952961303c8db9768763b4ce6e6a (diff)
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).
Diffstat (limited to 'core/Session.php')
-rw-r--r--core/Session.php3
1 files changed, 2 insertions, 1 deletions
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;