copied from TParis

Includes database.php