Modifiche framework (Application.js e AbstractDatabaseObject.php)