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:
authordiosmosis <benakamoorthi@fastmail.fm>2014-04-09 09:10:55 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-04-09 09:11:12 +0400
commit8fb9e31d02113dd2c62a710a54e9dfa2e91980af (patch)
tree640650c7d9d033bc323fbe81eddf2a298a0f5d62 /core/Config.php
parentaf5259345c13b8c9a8e2201a9c09b9816887d508 (diff)
Fixing build failure.
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/Config.php b/core/Config.php
index d17947fb52..6fe19d2eb9 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -160,7 +160,12 @@ class Config extends Singleton
}
// to avoid weird session error in travis
- $this->configLocal['General']['session_save_handler'] = 'dbtables';
+ if (empty($pathGlobal)) {
+ $configArray = &$this->configCache;
+ } else {
+ $configArray = &$this->configLocal;
+ }
+ $configArray['General']['session_save_handler'] = 'dbtables';
}
/**