diff --git a/application/core/Files/BackupUtil.php b/application/core/Files/BackupUtil.php index 22d45058..b53f2234 100644 --- a/application/core/Files/BackupUtil.php +++ b/application/core/Files/BackupUtil.php @@ -101,7 +101,7 @@ abstract class BackupUtil { } if (is_dir($filePath)) { $zipArchive->addEmptyDir($localPath); - $this->zipDirectory($zipArchive, $filePath, $prefixLength, $excludes); + self::zipDirectory($zipArchive, $filePath, $prefixLength, $excludes); continue; } } diff --git a/application/core/Files/FileUtil.php b/application/core/Files/FileUtil.php index 36c3d79d..2b98458d 100644 --- a/application/core/Files/FileUtil.php +++ b/application/core/Files/FileUtil.php @@ -143,7 +143,7 @@ abstract class FileUtil { } if (!is_writable($fileName)) { $message = "Write-Access missing for File '{$fileName}'!"; - $this->maniaControl->log($message); + logMessage($message); return false; } }