Improvemente PARTNER FLAG in db.php