Today was a big code change in the database connection backend of phpMyFAQ. I refactored the whole connection handling and added a singleton pattern. Yes, nothing special but with this addition we got rid of the global handling of the database object. We also improved a lot of code during this refactoring.