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:
authorrobocoder <anthon.pang@gmail.com>2009-07-28 20:26:57 +0400
committerrobocoder <anthon.pang@gmail.com>2009-07-28 20:26:57 +0400
commit6e35a2ee41de1118a3d9638cb9eb01d5ab25f246 (patch)
tree923684fa78d320fc61837ab76701f0cb20ba153d /index.php
parent9ee3cb1c832b96181300ac66ba7b652352343e4f (diff)
fixes #885 - dispatcher starts/resumes session unless PIWIK_ENABLE_SESSION_START=0
git-svn-id: http://dev.piwik.org/svn/trunk@1339 59fd770c-687e-43c8-a1e3-f5a4ff64c105
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';