Projects Directory : check and equalize images - Check / debug my recursive PHP function