|
|
|
|
@ -1837,6 +1837,7 @@ class learnpath { |
|
|
|
|
$manifest = ''; |
|
|
|
|
|
|
|
|
|
//the following loop should be stopped as soon as we found the right imsmanifest.xml (how to recognize it?) |
|
|
|
|
if (is_array($zipContentArray) && count($zipContentArray)>0) { |
|
|
|
|
foreach($zipContentArray as $thisContent) |
|
|
|
|
{ |
|
|
|
|
if ( preg_match('~.(php.*|phtml)$~i', $thisContent['filename']) ) |
|
|
|
|
@ -1859,6 +1860,7 @@ class learnpath { |
|
|
|
|
$package_type = ''; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return $package_type; |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
|