mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Some improvements
- Move $_SERVER into ConfigFileManager constructor - Rename "creatConfigFileLoader" to "createConfigFileManager" - Rename variable "loader" to "manager" in all tests
This commit is contained in:
parent
b4096251ba
commit
cdd57275eb
12 changed files with 134 additions and 125 deletions
|
@ -79,7 +79,7 @@ return [
|
|||
Config\Util\ConfigFileManager::class => [
|
||||
'instanceOf' => Config\Factory\Config::class,
|
||||
'call' => [
|
||||
['createConfigFileLoader', [
|
||||
['createConfigFileManager', [
|
||||
[Dice::INSTANCE => '$basepath'],
|
||||
$_SERVER,
|
||||
], Dice::CHAIN_CALL],
|
||||
|
@ -88,7 +88,7 @@ return [
|
|||
Config\ValueObject\Cache::class => [
|
||||
'instanceOf' => Config\Factory\Config::class,
|
||||
'call' => [
|
||||
['createCache', [$_SERVER], Dice::CHAIN_CALL],
|
||||
['createCache', [], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
App\Mode::class => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue