Skip to content

Commit 7a26d36

Browse files
authored
Trailing slash isn't required and causes errors (#401)
Trailing slash isn't required and causes errors in windows
1 parent 9fea869 commit 7a26d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/dompdf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic,
4343
* Symbol, ZapfDingbats.
4444
*/
45-
"font_dir" => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
45+
"font_dir" => storage_path('fonts'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
4646

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

5757
/**
5858
* The location of a temporary directory.

0 commit comments

Comments
 (0)