mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed #12434: Include Docker Specific Paths for dompdf chroot
This commit is contained in:
parent
c78c69700f
commit
9fca8c2438
|
@ -74,8 +74,11 @@ return array(
|
||||||
* This is only checked on command line call by dompdf.php, but not by
|
* This is only checked on command line call by dompdf.php, but not by
|
||||||
* direct class use like:
|
* direct class use like:
|
||||||
* $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output();
|
* $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.
|
* Whether to enable font subsetting or not.
|
||||||
|
|
Loading…
Reference in a new issue