Commit Graph

3 Commits

Author SHA1 Message Date
Marcos Mendoza
01258f1ee7 Support adding to an array in array_set_path()
- Avoid infinite loop with empty paths.
- Support setting $value to the $arr root.
- If $path contains a trailing forward-slash '/', push $value to the
  leaf node; replace the leaf node if it's a scalar.
2024-05-23 11:37:45 -06:00
Reid Linnemann
abe73fb3e9 Update .gitignore and remove autosave file from tests 2023-08-17 16:33:02 -06:00
Reid Linnemann
211d019665 Relocate ConfigLibTest.php to new tests directory
To correctly handle running test in situ, add set_include_path() call to add
relative src/etc/inc path to the include path string
2023-05-10 14:51:03 -06:00