ConfigFile class: read from string was ignoring last line if no newline

Version 1.61.0


Related to a similar fix for config files, where a missing newline character at the end of the file would not read that line: the similar read on a string, instead of a file, had the same behavior. Fixed to notice there was buffered data before hitting EOL, and counting it as legitimate before returning.

Interested to try DirectAdmin? Get a 30-day Free Trial!