projects
/
acontent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
case insensitive on the image extensions from the imported package
[acontent.git]
/
docs
/
include
/
classes
/
QTI
/
QTIImport.class.php
diff --git
a/docs/include/classes/QTI/QTIImport.class.php
b/docs/include/classes/QTI/QTIImport.class.php
index
fbf3983
..
9ee938c
100644
(file)
--- a/
docs/include/classes/QTI/QTIImport.class.php
+++ b/
docs/include/classes/QTI/QTIImport.class.php
@@
-110,7
+110,7
@@
class QTIImport {
continue;
}
- if (in_array(
$file_pathinfo['extension']
, $supported_media_type)){
+ if (in_array(
strtolower($file_pathinfo['extension'])
, $supported_media_type)){
//copy medias over.
$this->copyMedia(array($file_name), $xml->items);
}