28 protected function isMimeTypeOrExtension(
34 $mime_type = strtolower($metadata->getMimeType());
35 $mime_types =
array_map(
'strtolower', $mime_types);
36 if (in_array($mime_type, $mime_types,
true)) {
40 return substr_compare(
41 $metadata->getFilename(),
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...