]> BookStack Code Mirror - bookstack/commitdiff
Merge pull request #2965 from Haxatron/master
authorDan Brown <redacted>
Mon, 11 Oct 2021 09:25:28 +0000 (10:25 +0100)
committerGitHub <redacted>
Mon, 11 Oct 2021 09:25:28 +0000 (10:25 +0100)
Update DOMPDF chroot directory

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.