Loading src/UnicaenApp/Exporter/Pdf.php +12 −13 Original line number Diff line number Diff line Loading @@ -638,20 +638,19 @@ class Pdf implements ExporterInterface { if (null === $this->mpdf) { // define("_MPDF_TEMP_PATH", sys_get_temp_dir() . '/mpdf'); // create object mpdf $this->mpdf = new mPDF([ $mode = 's', $this->format . ($this->orientationPaysage ? '-L' : null), $this->defaultFontSize, '' /* $default_font */, $this->marginLeft, $this->marginRight, $this->marginTop, $this->marginBottom, $this->marginHeader, $this->marginFooter, 'mode' => $mode = 's', 'format' => $this->format/* . ($this->orientationPaysage ? '-L' : null)*/, 'default_font_size' => $this->defaultFontSize, 'default_font' => '', 'margin_left' => $this->marginLeft, 'margin_right' => $this->marginRight, 'margin_top' => $this->marginTop, 'margin_bottom' => $this->marginBottom, 'margin_header' => $this->marginHeader, 'margin_footer' => $this->marginFooter, 'orientation' => $this->orientationPaysage ? 'L' : 'P', 'tempDir' => sys_get_temp_dir() . '/mpdf', ]); Loading Loading
src/UnicaenApp/Exporter/Pdf.php +12 −13 Original line number Diff line number Diff line Loading @@ -638,20 +638,19 @@ class Pdf implements ExporterInterface { if (null === $this->mpdf) { // define("_MPDF_TEMP_PATH", sys_get_temp_dir() . '/mpdf'); // create object mpdf $this->mpdf = new mPDF([ $mode = 's', $this->format . ($this->orientationPaysage ? '-L' : null), $this->defaultFontSize, '' /* $default_font */, $this->marginLeft, $this->marginRight, $this->marginTop, $this->marginBottom, $this->marginHeader, $this->marginFooter, 'mode' => $mode = 's', 'format' => $this->format/* . ($this->orientationPaysage ? '-L' : null)*/, 'default_font_size' => $this->defaultFontSize, 'default_font' => '', 'margin_left' => $this->marginLeft, 'margin_right' => $this->marginRight, 'margin_top' => $this->marginTop, 'margin_bottom' => $this->marginBottom, 'margin_header' => $this->marginHeader, 'margin_footer' => $this->marginFooter, 'orientation' => $this->orientationPaysage ? 'L' : 'P', 'tempDir' => sys_get_temp_dir() . '/mpdf', ]); Loading