From 7a26d360ba71b5b7adfbd66def5ccc6e3961b3c3 Mon Sep 17 00:00:00 2001 From: Ryan Worth Date: Tue, 13 Jul 2021 18:30:34 +1000 Subject: [PATCH] Trailing slash isn't required and causes errors (#401) Trailing slash isn't required and causes errors in windows --- config/dompdf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dompdf.php b/config/dompdf.php index c8645d3..692a131 100644 --- a/config/dompdf.php +++ b/config/dompdf.php @@ -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 @@ -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.