Add a configuration check page (checkconfig.php)
If opening the database is impossible redirect to the configuration check.

fix #7