mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT) - Removed now obsolete db environment variable functionality - Added functionality to load env variables (overwrites DB based cached)
This commit is contained in:
parent
3587e89482
commit
d39ee428f0
8 changed files with 93 additions and 8 deletions
|
@ -75,13 +75,13 @@ return [
|
|||
Util\ConfigFileLoader::class => [
|
||||
'shared' => true,
|
||||
'constructParams' => [
|
||||
[Dice::INSTANCE => '$basepath'],
|
||||
[Dice::INSTANCE => '$basepath']
|
||||
],
|
||||
],
|
||||
Config\Cache::class => [
|
||||
'instanceOf' => Factory\ConfigFactory::class,
|
||||
'call' => [
|
||||
['createCache', [], Dice::CHAIN_CALL],
|
||||
['createCache', [$_SERVER], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
App\Mode::class => [
|
||||
|
@ -105,7 +105,6 @@ return [
|
|||
Database::class => [
|
||||
'constructParams' => [
|
||||
[Dice::INSTANCE => \Psr\Log\NullLogger::class],
|
||||
$_SERVER,
|
||||
],
|
||||
],
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue