Use correct path.
parent
3eea931332
commit
ccccec84e7
|
@ -1773,7 +1773,7 @@ class H5PCore {
|
|||
$content['slug'] = $this->generateContentSlug($content);
|
||||
|
||||
// Remove old export file
|
||||
$oldExport = $this->h5pF->getH5pPath() . '/exports/' . $content['id'] . '.h5p';
|
||||
$oldExport = $this->path . '/exports/' . $content['id'] . '.h5p';
|
||||
if (file_exists($oldExport)) {
|
||||
unlink($oldExport);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue