diff --git a/h5p-default-storage.class.php b/h5p-default-storage.class.php index 1d8b0a8..849d7b7 100644 --- a/h5p-default-storage.class.php +++ b/h5p-default-storage.class.php @@ -117,7 +117,7 @@ class H5PDefaultStorage implements \H5PFileStorage { */ public function exportLibrary($library, $target) { $folder = \H5PCore::libraryToString($library, TRUE); - self::copyFileTree("{$this->path}/libraries/{$folder}", $target); + self::copyFileTree("{$this->path}/libraries/{$folder}", "{$target}/{$folder}"); } /**