Skip to content

Commit

Permalink
Use $filePath variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyperghost committed Dec 19, 2023
1 parent 1e03384 commit e357653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/lib/system/exporter/WBB4xExporter.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2242,7 +2242,7 @@ private function getCoverPhotoPath(string $filePath, array $row): string
$fileExtension = $row["fileExtension"];
$directory = \substr($fileHash, 0, 2);

return "{$blogFilePath}images/coverPhotos/{$directory}/{$coverPhotoID}-{$fileHash}.{$fileExtension}";
return "{$filePath}images/coverPhotos/{$directory}/{$coverPhotoID}-{$fileHash}.{$fileExtension}";
}

/**
Expand Down

0 comments on commit e357653

Please sign in to comment.