mirror of
https://github.com/thewesker/RASCSI.git
synced 2025-12-20 12:21:10 -05:00
Update lib_rascsi.php
Add ..cdr to be interpreted as a CD-Rom image.
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user