]> git.mxchange.org Git - friendica.git/commit
Dynamic config loading
authorPhilipp Holzer <admin+github@philipp.info>
Sun, 23 Jun 2019 17:56:21 +0000 (19:56 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Tue, 16 Jul 2019 18:16:43 +0000 (20:16 +0200)
commit92fb0a82ca9b62065647a8c34134030415a67c55
tree435eabe1687eeaee5d471893a06c027c7f63caae
parent966043712f92e21c1e78968c2155fa11ccf2960f
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
31 files changed:
config/dbstructure.config.php [deleted file]
config/defaults.config.php [deleted file]
config/local-sample.config.php
config/settings.config.php [deleted file]
doc/Config.md
src/App.php
src/Console/AutomaticInstallation.php
src/Core/Config/Configuration.php
src/Database/DBStructure.php
src/Factory/ConfigFactory.php
src/Factory/DependencyFactory.php
src/Module/Admin/Summary.php
src/Util/Config/ConfigFileLoader.php [deleted file]
src/Util/Config/ConfigFileManager.php [deleted file]
src/Util/ConfigFileLoader.php [new file with mode: 0644]
static/dbstructure.config.php [new file with mode: 0755]
static/defaults.config.php [new file with mode: 0644]
static/settings.config.php [new file with mode: 0644]
tests/DatabaseTest.php
tests/Util/VFSTrait.php
tests/datasets/config/A.config.php [new file with mode: 0644]
tests/datasets/config/A.ini.php [new file with mode: 0644]
tests/datasets/config/B.config.php [new file with mode: 0644]
tests/datasets/config/B.ini.php [new file with mode: 0644]
tests/datasets/config/local.config.php [deleted file]
tests/datasets/config/local.ini.php [deleted file]
tests/include/ApiTest.php
tests/src/Console/AutomaticInstallationConsoleTest.php
tests/src/Util/Config/ConfigFileLoaderTest.php
update.php
view/templates/local.config.tpl