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:
Diffstat (limited to 'core/Session.php')
-rw-r--r--core/Session.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/Session.php b/core/Session.php
index 16378607ed..59e02a89a2 100644
--- a/core/Session.php
+++ b/core/Session.php
@@ -11,9 +11,6 @@
namespace Piwik;
use Exception;
-use Piwik\Config;
-use Piwik\Piwik;
-use Piwik\Common;
use Piwik\Session\SaveHandler\DbTable;
use Zend_Registry;
use Zend_Session;
@@ -63,7 +60,7 @@ class Session extends Zend_Session
@ini_set('session.use_only_cookies', '1');
// advise browser that session cookie should only be sent over secure connection
- if (Piwik::isHttps()) {
+ if (ProxyHttp::isHttps()) {
@ini_set('session.cookie_secure', '1');
}