From b043257d9a7570e5055500948358c3ef95795378 Mon Sep 17 00:00:00 2001 From: Haxatron <76475453+Haxatron@users.noreply.github.com> Date: Sun, 10 Oct 2021 01:06:08 +0800 Subject: [PATCH] Update dompdf.php base_path => public_path --- app/Config/dompdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config/dompdf.php b/app/Config/dompdf.php index cf07312e8..a5490294c 100644 --- a/app/Config/dompdf.php +++ b/app/Config/dompdf.php @@ -70,7 +70,7 @@ return [ * direct class use like: * $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output(); */ - 'chroot' => realpath(base_path()), + 'chroot' => realpath(public_path()), /** * Whether to use Unicode fonts or not.