netkas
|
579813315b
|
Add support for CONFIGLIB_PATH environment variable
|
2024-12-27 15:20:36 -05:00 |
|
netkas
|
2f41614d20
|
Update version and improve config validation
|
2024-09-26 14:57:27 -04:00 |
|
netkas
|
e3b2a3cf9a
|
Add --path option to display configuration storage path
|
2024-09-23 13:44:19 -04:00 |
|
netkas
|
6cdc2336cd
|
Add exit check and update project include paths
|
2024-09-20 18:41:47 -04:00 |
|
netkas
|
a259f45684
|
Refactor temp directory handling and add getVersion method
|
2024-09-19 14:01:10 -04:00 |
|
netkas
|
d44020aacf
|
Refactor ConfigLib and remove outdated tests
|
2024-09-17 12:02:41 -04:00 |
|
|
544b9f2e1c
|
Added the ability to override configuration properties with environment variables using the format CONFIGLIB_<CONFIG_NAME>_<PROPERTY_NAME>
|
2023-08-12 08:39:02 -04:00 |
|
|
b26d818d6b
|
Corrected a few lines of code in regards to missing variable definitions
|
2023-08-12 02:20:40 -04:00 |
|
|
5afae885db
|
Fixed Fatal error: Uncaught TypeError: array_replace_recursive(): Argument #1 ($array) must be of type array, null given in /var/ncc/packages/net.nosial.configlib=1.0.2/src/ConfigLib/Configuration.php:331
|
2023-07-13 17:05:32 -04:00 |
|
|
a3c04e1c36
|
Fixed issue #1 in Configuration->__construct() where the name of an environment variable was being used instead of its value when determining the configuration file path. This incorrect handling resulted in warnings about non-existent files and hindered the proper loading of configuration files. With this fix, environment variables should now correctly guide the path to the desired configuration files, improving the flexibility and functionality of the configuration library.
|
2023-07-11 22:25:53 -04:00 |
|
|
fccc0cd20c
|
Minor correction
|
2023-07-11 14:36:36 -04:00 |
|
|
e1d27c883a
|
Refactored codebase to be more maintainable, readable & more optimized
|
2023-07-11 14:32:27 -04:00 |
|
|
0a8bb3a607
|
Refactored codebase to be more maintainable, readable & more optimized
|
2023-07-11 14:27:21 -04:00 |
|
|
87fac4d19c
|
Merged str_replace functions
|
2023-07-11 14:15:38 -04:00 |
|
|
822ae9ac76
|
ConfigurationLib will now attempt to load configuration files from Environment Variables if they are set, for example if com.example.application wants to load ExampleConfiguration it will first check if CONFIGLIB_EXAMPLECONFIGURATION is set, and if so, load that file instead of the default example-configuration.yml file. If the file is not found, it will resort to its default behavior. You can either load an original json configuration file which is usually located at \var\ncc\data\net.nosial.configlib as one of the .conf files, or you can load a yml which is the same one you usually use to import or edit configurations.
|
2023-07-11 13:53:24 -04:00 |
|
Netkas
|
56561bca05
|
Many changes
|
2023-02-23 16:22:20 -05:00 |
|
Netkas
|
bda571fa77
|
Initial Commit
|
2023-02-23 13:11:50 -05:00 |
|