Skip to content

Commit

Permalink
Trailing slash isn't required and causes errors (#401)
Browse files Browse the repository at this point in the history
Trailing slash isn't required and causes errors in windows
  • Loading branch information
garhbod authored Jul 13, 2021
1 parent 9fea869 commit 7a26d36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/dompdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic,
* Symbol, ZapfDingbats.
*/
"font_dir" => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
"font_dir" => storage_path('fonts'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)

/**
* The location of the DOMPDF font cache directory
Expand All @@ -52,7 +52,7 @@
*
* Note: This directory must exist and be writable by the webserver process.
*/
"font_cache" => storage_path('fonts/'),
"font_cache" => storage_path('fonts'),

/**
* The location of a temporary directory.
Expand Down

0 comments on commit 7a26d36

Please sign in to comment.