mirror of
https://github.com/friendica/friendica
synced 2025-05-18 13:04:10 +02:00
Migrate distributed cache config value
This commit is contained in:
parent
b4c1fb0d9c
commit
6ca5668ac1
5 changed files with 37 additions and 7 deletions
|
@ -96,8 +96,8 @@ class ConfigFileLoader
|
|||
public function setupCache(Cache $config, array $server = [], bool $raw = false)
|
||||
{
|
||||
// Load static config files first, the order is important
|
||||
$config->load($this->loadStaticConfig('defaults'), Cache::SOURCE_FILE);
|
||||
$config->load($this->loadStaticConfig('settings'), Cache::SOURCE_FILE);
|
||||
$config->load($this->loadStaticConfig('defaults'), Cache::SOURCE_STATIC);
|
||||
$config->load($this->loadStaticConfig('settings'), Cache::SOURCE_STATIC);
|
||||
|
||||
// try to load the legacy config first
|
||||
$config->load($this->loadLegacyConfig('htpreconfig'), Cache::SOURCE_FILE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue