Fix Sample Detection 2

maj : update file include/function.php, and launch
update/last_update.php