Use $filePath variable
authorOlaf Braun <info@braun-development.de>
Tue, 19 Dec 2023 13:51:19 +0000 (14:51 +0100)
committerOlaf Braun <info@braun-development.de>
Tue, 19 Dec 2023 13:51:19 +0000 (14:51 +0100)
files/lib/system/exporter/WBB4xExporter.class.php

index 7977e4ccb138d2ff86494fe4f2efcbb69fbff4c7..85ba23ad99cde3f207ee13629a6ee9394ebc636c 100644 (file)
@@ -2242,7 +2242,7 @@ final class WBB4xExporter extends AbstractExporter
         $fileExtension = $row["fileExtension"];
         $directory = \substr($fileHash, 0, 2);
 
-        return "{$blogFilePath}images/coverPhotos/{$directory}/{$coverPhotoID}-{$fileHash}.{$fileExtension}";
+        return "{$filePath}images/coverPhotos/{$directory}/{$coverPhotoID}-{$fileHash}.{$fileExtension}";
     }
 
     /**