diff --git a/h5p.classes.php b/h5p.classes.php index 06e76bb..62b17c8 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -731,10 +731,10 @@ class h5pCore { while (false !== ($file = readdir($dir))) { if (($file != '.') && ($file != '..')) { if (is_dir($source . '/' . $file)) { - copyTree($source . '/' . $file, $destination . '/' . $file); + $this->copyTree($source . '/' . $file, $destination . '/' . $file); } else { - copy($source . '/' . $file,$destination . '/' . $file); + copy($source . '/' . $file,$destination . '/' . $file); } } }