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>2013-09-19 11:06:41 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-19 11:06:41 +0400
commit39f12998a7f22682c9adb493f0335e1590f412fa (patch)
tree9c48370dfb49461d7677c7ab6d9e67de785d6537 /core/Session
parent221a9e99bb3814bc9df340a392f43c70367ae157 (diff)
Moving isPhpCli to Common
Diffstat (limited to 'core/Session')
-rw-r--r--core/Session/SessionNamespace.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Session/SessionNamespace.php b/core/Session/SessionNamespace.php
index 7b041ec461..63ede5f45e 100644
--- a/core/Session/SessionNamespace.php
+++ b/core/Session/SessionNamespace.php
@@ -10,7 +10,7 @@
*/
namespace Piwik\Session;
-use Piwik\SettingsServer;
+use Piwik\Common;
use Zend_Session_Namespace;
/**
@@ -27,7 +27,7 @@ class SessionNamespace extends Zend_Session_Namespace
*/
public function __construct($namespace = 'Default', $singleInstance = false)
{
- if (SettingsServer::isPhpCliMode()) {
+ if (Common::isPhpCliMode()) {
self::$_readable = true;
return;
}