fix previous change
This commit is contained in:
parent
a1429085ee
commit
0fb73ec49d
|
@ -165,7 +165,7 @@ class OC_Filestorage_Local extends OC_Filestorage{
|
||||||
}
|
}
|
||||||
if ($mimeType=='application/octet-stream') {
|
if ($mimeType=='application/octet-stream') {
|
||||||
// Fallback solution: (try to guess the type by the file extension
|
// Fallback solution: (try to guess the type by the file extension
|
||||||
if(!self::$mimetypes || self::$mimetypes == include('mimetypes.list.php')){
|
if(!self::$mimetypes || self::$mimetypes != include('mimetypes.list.php')){
|
||||||
self::$mimetypes=include('mimetypes.list.php');
|
self::$mimetypes=include('mimetypes.list.php');
|
||||||
}
|
}
|
||||||
$extention=strtolower(strrchr(basename($fspath), "."));
|
$extention=strtolower(strrchr(basename($fspath), "."));
|
||||||
|
|
Loading…
Reference in New Issue