Merge origin/master

Conflicts:
	class/database.class.php
Merge origin/master

Conflicts:
	class/database.class.php