diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-19 11:06:41 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-19 11:06:41 +0400 |
commit | 39f12998a7f22682c9adb493f0335e1590f412fa (patch) | |
tree | 9c48370dfb49461d7677c7ab6d9e67de785d6537 /core/Session.php | |
parent | 221a9e99bb3814bc9df340a392f43c70367ae157 (diff) |
Moving isPhpCli to Common
Diffstat (limited to 'core/Session.php')
-rw-r--r-- | core/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Session.php b/core/Session.php index 67c0cc75d7..6cf0ee21a8 100644 --- a/core/Session.php +++ b/core/Session.php @@ -45,7 +45,7 @@ class Session extends Zend_Session */ public static function start($options = false) { - if (SettingsServer::isPhpCliMode() + if (Common::isPhpCliMode() || self::$sessionStarted || (defined('PIWIK_ENABLE_SESSION_START') && !PIWIK_ENABLE_SESSION_START) ) { |