]> BookStack Code Mirror - bookstack/commitdiff
Update dompdf.php 2965/head
authorHaxatron <redacted>
Sat, 9 Oct 2021 17:06:08 +0000 (01:06 +0800)
committerGitHub <redacted>
Sat, 9 Oct 2021 17:06:08 +0000 (01:06 +0800)
base_path => public_path

app/Config/dompdf.php

index cf07312e8a25854b4387376fbe015789a4773602..a5490294c0eb870dc44510d604eaf67e8d2b746a 100644 (file)
@@ -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.