Moved ini folder code into a separate function and added another constant for ini folder location.
Authored by: fourshades 2023-05-22
Parent: [r732]
Child: [r734]