Target correct folder when exporting libs

pull/17/head
Frode Petterson 2016-01-25 14:46:55 +01:00
parent 0f736ae1c5
commit 875a7ccef3
1 changed files with 1 additions and 1 deletions

View File

@ -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}");
}
/**