diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-04-09 09:10:55 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-04-09 09:11:12 +0400 |
commit | 8fb9e31d02113dd2c62a710a54e9dfa2e91980af (patch) | |
tree | 640650c7d9d033bc323fbe81eddf2a298a0f5d62 /core/Config.php | |
parent | af5259345c13b8c9a8e2201a9c09b9816887d508 (diff) |
Fixing build failure.
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 7 |
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'; } /** |