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-06-16 00:46:19 +0400
committerrobocoder <anthon.pang@gmail.com>2009-06-16 00:46:19 +0400
commit000751da41f32b9ea5d712a5c0eb80656f978ea2 (patch)
tree398363618e0ede32c93e1c1de24923f02fd79a79 /index.php
parent0f45c48f4fb1527789b25179fbc2f64906dbeaf8 (diff)
refs #806 - only set session handler if 'user'; all the other handlers
are either built-in or through libraries/extensions git-svn-id: http://dev.piwik.org/svn/trunk@1227 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 07a39b1e63..c7dfdd19d4 100755
--- a/index.php
+++ b/index.php
@@ -12,7 +12,7 @@
error_reporting(E_ALL|E_NOTICE);
@ini_set('display_errors', 1);
@ini_set('magic_quotes_runtime', 0);
-if(!in_array(ini_get('session.save_handler'), array('files', 'memcached')))
+if(ini_get('session.save_handler') == 'user')
{
@ini_set('session.save_handler', 'files');
@ini_set('session.save_path', '');