diff --git a/phpmyfaq/src/phpMyFAQ/Export/Pdf/Wrapper.php b/phpmyfaq/src/phpMyFAQ/Export/Pdf/Wrapper.php index 54daf9b92a..949e615d5b 100644 --- a/phpmyfaq/src/phpMyFAQ/Export/Pdf/Wrapper.php +++ b/phpmyfaq/src/phpMyFAQ/Export/Pdf/Wrapper.php @@ -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;