Make sure error output won't prevent redirecting user to installer

Having error reporting enabled causes PHP to output a warning if the settings.php is missing. The output prevents PHP from redirecting user to the installer. This commit makes sure that the possible warning is suppressed.