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-14 04:14:23 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-14 04:14:23 +0400
commitcf279bc8aa095c849932182bd3eb1c60ed9f67a3 (patch)
treeab8230b7e4e7b46065c079d3bfdaf3d28c443978 /core/Session.php
parentdf470ed7170e4b323b4623fd55453abc2d7810ad (diff)
ProxyHttp class until I find a better name
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');
}