diff options
Diffstat (limited to 'core/bootstrap.php')
-rw-r--r-- | core/bootstrap.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/bootstrap.php b/core/bootstrap.php index 57c3f95f8d..04d161a57b 100644 --- a/core/bootstrap.php +++ b/core/bootstrap.php @@ -29,7 +29,9 @@ if (!defined('PIWIK_VENDOR_PATH')) { // NOTE: the code above must be PHP 4 compatible require_once PIWIK_INCLUDE_PATH . '/core/testMinimumPhpVersion.php'; -session_cache_limiter('nocache'); +if (session_status() !== PHP_SESSION_ACTIVE) { + session_cache_limiter('nocache'); +} define('PIWIK_DEFAULT_TIMEZONE', @date_default_timezone_get()); @date_default_timezone_set('UTC'); |