Commit graph

177 commits

Author SHA1 Message Date
3224bcc44a
Corrected version 2023-08-12 01:54:27 -04:00
fbf86f7a92
Updated CHANGELOG.md 2023-08-12 01:53:41 -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
4cffe41bf0
Updated .gitlab-ci.yml 2023-07-11 22:30:29 -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
7aa8c56074 Update .gitlab-ci.yml 2023-07-11 23:15:27 +00:00
f7c64f4ba6
Updated CHANGELOG.md 2023-07-11 14:37:39 -04:00
fccc0cd20c
Minor correction 2023-07-11 14:36:36 -04:00
75bab04162
Added Intellij run configurations 2023-07-11 14:34:59 -04:00
97352f8d75
Added Makefile 2023-07-11 14:33:23 -04:00
ffc9d2f43f
Updated Project_Default.xml 2023-07-11 14:32:39 -04:00
a8f8bde245
Updated php.xml 2023-07-11 14:32:33 -04:00
e1d27c883a
Refactored codebase to be more maintainable, readable & more optimized 2023-07-11 14:32:27 -04:00
c45635bc72
Updated php.xml 2023-07-11 14:27: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
286868933e
Updated CHANGELOG.md 2023-07-11 13:55:57 -04:00
d1ada4667d
Updated CHANGELOG.md 2023-07-11 13:53:42 -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
8c69851ac2
Bumped version to 1.0.1 2023-07-11 13:35:59 -04:00
Netkas
4d58db1ac0 Added CHANGELOG.md 2023-02-23 16:31:04 -05:00
Netkas
ad83011a78 Updated default.php 2023-02-23 16:25:41 -05:00
Netkas
b9bcaaa952 Updated main 2023-02-23 16:25:26 -05:00
Netkas
7c62958980 Updated README.md 2023-02-23 16:24:45 -05:00
Netkas
56561bca05 Many changes 2023-02-23 16:22:20 -05:00
Netkas
085cb5a24c Added missing files 2023-02-23 13:13:24 -05:00
Netkas
bda571fa77 Initial Commit 2023-02-23 13:11:50 -05:00