Update lib_rascsi.php

Add ..cdr to be interpreted as a CD-Rom image.
This commit is contained in:
thewesker
2020-10-09 16:00:05 -04:00
committed by GitHub
parent 1df823218c
commit 0d5ea2a7bd

View File

@@ -228,7 +228,7 @@ function file_size_from_ls($value){
return $file_props[4]; return $file_props[4];
} }
function file_category_from_file_name($value){ function file_category_from_file_name($value){
if(strpos($value,".iso") > 0){ if(strpos($value,".iso") || strpos($value,".cdr") > 0){
return "CD-ROM Image"; return "CD-ROM Image";
} }
if(strpos($value,".hda") > 0){ if(strpos($value,".hda") > 0){