Loading settings from DB to php