Minor cleanup

pull/22/head
Dave Richer 2016-06-16 14:13:51 -04:00 committed by GitHub
parent a9a99afb9b
commit bcdaf59e5e
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class H5PDefaultStorage implements \H5PFileStorage {
$source = "{$this->path}/content/{$id}";
if (file_exists($source)) {
// Copy content folder if it exists
self::copyFileTree("{$this->path}/content/{$id}", $target);
self::copyFileTree($source, $target);
}
else {
// No contnet folder, create emty dir for content.json