This class allows to read and write ini files. It translates ini files into
associative PHP arrays and translates PHP arrays into ini files. It supports
sectioning as well as a kind of subsectioning.
Colons (:) are considered separators for sub-sections and are represented
as multi-dimensional arrays. For instance, the following array:
So, flatten_array goes one step too far with the flattening, but I
don't know how many levels down I need to flatten (2, 97?), so we just flatten
all the way and then step back one level, which is what this function does.