Ported to PDO like the cool guys, Added support for SQLite (PostgreSQL should be supported too, but not tested), added simple gui to add/remove sites (no protection! delete it or protect it from your webserver)