mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Merge pull request #13124 from m4us1ne/fix_dompdf_chroot
Fixed #12434: Include Docker Specific Paths for dompdf chroot
This commit is contained in:
commit
09d65f810e
|
@ -74,8 +74,11 @@ return array(
|
|||
* This is only checked on command line call by dompdf.php, but not by
|
||||
* direct class use like:
|
||||
* $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output();
|
||||
*
|
||||
*
|
||||
* Hardcoding 2 Paths needed for Docker Containers
|
||||
*/
|
||||
"chroot" => realpath(base_path()),
|
||||
"chroot" => realpath(base_path()) . ",/var/lib/snipeit/data/uploads,/var/lib/snipeit/data/private_uploads",
|
||||
|
||||
/**
|
||||
* Whether to enable font subsetting or not.
|
||||
|
|
Loading…
Reference in a new issue