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:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-07-28 20:26:57 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-07-28 20:26:57 +0400
commit7673dd1209035e8c59aff974c63551e35c826136 (patch)
tree923684fa78d320fc61837ab76701f0cb20ba153d /index.php
parent2e31278fac1f54e208c1c053e0b104e24085b514 (diff)
fixes #885 - dispatcher starts/resumes session unless PIWIK_ENABLE_SESSION_START=0
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.php b/index.php
index 5fef703249..e5c2554914 100644
--- a/index.php
+++ b/index.php
@@ -38,6 +38,11 @@ session_cache_limiter('nocache');
@date_default_timezone_set(date_default_timezone_get());
require_once PIWIK_INCLUDE_PATH .'/core/Loader.php';
+if(!defined('PIWIK_ENABLE_SESSION_START') || PIWIK_ENABLE_SESSION_START)
+{
+ Zend_Session::start();
+}
+
if(!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER)
{
require_once PIWIK_INCLUDE_PATH .'/core/ErrorHandler.php';