Skip to content

Commit

Permalink
fix: corrected method usage
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Nov 23, 2024
1 parent ffe2543 commit f4a6df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/src/phpMyFAQ/Export/Pdf/Wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public function Image(// phpcs:ignore
$file = parse_url($file, PHP_URL_PATH);

$type = pathinfo($file, PATHINFO_EXTENSION);
$data = file_get_contents(PMF_ROOT_DIR, $this->concatenatePaths($file));
$data = file_get_contents($this->concatenatePaths(PMF_ROOT_DIR, $file));

if ($this->checkBase64Image($data)) {
$file = '@' . $data;
Expand Down

0 comments on commit f4a6df9

Please sign in to comment.