Fix undefined function bug

namespaces
Svein-Tore Griff With 2013-02-05 15:36:39 +01:00
parent a5acd003d0
commit 7db3def124
1 changed files with 2 additions and 2 deletions

View File

@ -731,7 +731,7 @@ class h5pCore {
while (false !== ($file = readdir($dir))) { while (false !== ($file = readdir($dir))) {
if (($file != '.') && ($file != '..')) { if (($file != '.') && ($file != '..')) {
if (is_dir($source . '/' . $file)) { if (is_dir($source . '/' . $file)) {
copyTree($source . '/' . $file, $destination . '/' . $file); $this->copyTree($source . '/' . $file, $destination . '/' . $file);
} }
else { else {
copy($source . '/' . $file,$destination . '/' . $file); copy($source . '/' . $file,$destination . '/' . $file);