Minor cleanup
parent
a9a99afb9b
commit
bcdaf59e5e
|
@ -112,7 +112,7 @@ class H5PDefaultStorage implements \H5PFileStorage {
|
||||||
$source = "{$this->path}/content/{$id}";
|
$source = "{$this->path}/content/{$id}";
|
||||||
if (file_exists($source)) {
|
if (file_exists($source)) {
|
||||||
// Copy content folder if it exists
|
// Copy content folder if it exists
|
||||||
self::copyFileTree("{$this->path}/content/{$id}", $target);
|
self::copyFileTree($source, $target);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// No contnet folder, create emty dir for content.json
|
// No contnet folder, create emty dir for content.json
|
||||||
|
|
Loading…
Reference in New Issue