checkDBSettings.php code put back