tajemo/openemr — comment on commit aaf42bd9470ca7ca291454296c896162140997bd
File:  line 0
By tajemo:

my GIT is broken, please help :D won't let me commit anything or checkout branches or do anything really, how do I just reset my repo ?

to fix this more appropriately use this rather :

$viewable_types = array('.png','.jpg','.jpeg','.png','.bmp'); // image ext supported by fancybox viewer
if ( in_array(strtolower($extension),$viewable_types) ) { // extention matches list