Commit Graph

8 Commits

Author SHA1 Message Date
Abel Hoogeveen 0014c2d9f6
Added config layers.
Configs are now layered on top of each other. If a config file is found in multiple directories, they are merged together. Higher fields will override lower fields. This way, if one field is missing in a higher priority file, the lower priority can still be used.
2021-11-30 00:22:58 +01:00
Abel Hoogeveen 7a899e33d7
Implemented a unit test for loading environment variables through config files.
continuous-integration/drone/push Build is passing Details
Config files may now have a 'lock' key. If a config file has such a key, ConfigORM will refuse to commit changes.
This allows the developer to use Core::getEnv() in config files, without risk of it being overwritten by a commit.
2020-05-15 19:17:59 +02:00
Abel Hoogeveen f364245d90
Implemented Priority for componentPaths. 2019-01-21 17:19:09 +01:00
Abel Hoogeveen be449b4f0d
Implemented ComponentPathsTrait.
Now every classes that uses paths doesn't have its own code anymore. All methods for handling paths have been standardized.
2019-01-18 11:00:22 +01:00
Abel Hoogeveen 0c569a9eb1
Updated copyright notice to 2019 2019-01-10 23:59:00 +01:00
Abel Hoogeveen f5fd1143fb
Made test directories uppercase to make them compatible with Linux. 2019-01-10 23:54:33 +01:00
Abel Hoogeveen f0865bb761
Implemented all ideas for the Christmas holidays 2019-01-01 18:37:14 +01:00
Abel Hoogeveen ef149a953f Moved 'tests' to 'test' folder to make consistent with other FuzeWorks projects. 2018-12-23 19:21:31 +01:00