MDL-42243 fix filter settings regression and support standard settings.php