#209240 by gopherspidey, soxofaan: fix settings file checking for multisite setups, and a bad file name used in an error message