.htaccess for /setup directory
if db connection fails launch setup

if the db connection in base.php fails, redirect to the setup script
can include more detailed instructions there at some point
add db checking code to base.php

check that database is initialised, if not send to setup