Modifications in database.class and index.php
Merge remote-tracking branch 'origin/master'