diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-14 06:37:21 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-14 06:37:21 +0400 |
commit | 8d11a25fa7f41212584a58998c59884a4b9836d4 (patch) | |
tree | 39d6e3892346288619987f32a562f7e102c6f34c /core/Session | |
parent | 4e910af4d770e19bcc7f953840662ee8a4c08b20 (diff) |
Moving PHP/server settings getter/setter to SettingsServer class
Diffstat (limited to 'core/Session')
-rw-r--r-- | core/Session/SessionNamespace.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Session/SessionNamespace.php b/core/Session/SessionNamespace.php index 63ede5f45e..7b041ec461 100644 --- a/core/Session/SessionNamespace.php +++ b/core/Session/SessionNamespace.php @@ -10,7 +10,7 @@ */ namespace Piwik\Session; -use Piwik\Common; +use Piwik\SettingsServer; use Zend_Session_Namespace; /** @@ -27,7 +27,7 @@ class SessionNamespace extends Zend_Session_Namespace */ public function __construct($namespace = 'Default', $singleInstance = false) { - if (Common::isPhpCliMode()) { + if (SettingsServer::isPhpCliMode()) { self::$_readable = true; return; } |