Update lib_rascsi.php (#42)

Add ..cdr to be interpreted as a CD-Rom image.
This commit is contained in:
thewesker 2020-10-12 00:53:57 -04:00 committed by GitHub
parent 1df823218c
commit 87c84689c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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