Use correct path.

redesign-copyrights
Frode Petterson 2015-04-22 15:19:01 +02:00
parent 3eea931332
commit ccccec84e7
1 changed files with 2 additions and 2 deletions

View File

@ -1773,7 +1773,7 @@ class H5PCore {
$content['slug'] = $this->generateContentSlug($content); $content['slug'] = $this->generateContentSlug($content);
// Remove old export file // Remove old export file
$oldExport = $this->h5pF->getH5pPath() . '/exports/' . $content['id'] . '.h5p'; $oldExport = $this->path . '/exports/' . $content['id'] . '.h5p';
if (file_exists($oldExport)) { if (file_exists($oldExport)) {
unlink($oldExport); unlink($oldExport);
} }