Merge branch 'master' of https://github.com/h5p/h5p-php-library
commit
e2abcd20b1
|
@ -1465,7 +1465,7 @@ Class H5PExport {
|
|||
|
||||
// Create new zip instance.
|
||||
$zip = new ZipArchive();
|
||||
$zip->open($zipPath, ZIPARCHIVE::CREATE);
|
||||
$zip->open($zipPath, ZIPARCHIVE::CREATE | ZIPARCHIVE::OVERWRITE);
|
||||
|
||||
// Get all files and folders in $tempPath
|
||||
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($tempPath . DIRECTORY_SEPARATOR));
|
||||
|
|
Loading…
Reference in New Issue