Fix: Restore lost fix into tcpdf
This commit is contained in:
parent
269a4a8ba8
commit
8562cb677d
@ -30,7 +30,7 @@ public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=
|
|||||||
by
|
by
|
||||||
public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=false, $maxh=0, $valign='T', $fitcell=false) {
|
public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=false, $maxh=0, $valign='T', $fitcell=false) {
|
||||||
|
|
||||||
* Removed all fonts except dejavu* (greek, arab, persan, romanian, turkish), freemono* (russian), stsongstdlight* (chinese), helvetica* (all other) and useless directories (fonts/utils, docs, cache, images)
|
* Removed all fonts except dejavu* (used by greek, arab, persan, romanian, turkish), freemono* (russian), stsongstdlight* (chinese), helvetica* (all other) and useless directories (fonts/utils, docs, cache, images)
|
||||||
|
|
||||||
* Replace in tcpdf_config.php
|
* Replace in tcpdf_config.php
|
||||||
define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
|
define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
|
||||||
|
|||||||
@ -91,12 +91,16 @@ if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
|
|||||||
/**
|
/**
|
||||||
* cache directory for temporary files (full path)
|
* cache directory for temporary files (full path)
|
||||||
*/
|
*/
|
||||||
define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
|
// define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
|
||||||
|
define ('K_PATH_CACHE', DOL_DATA_ROOT.'/admin/temp/');
|
||||||
|
dol_mkdir(K_PATH_CACHE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cache directory for temporary files (url path)
|
* cache directory for temporary files (url path)
|
||||||
*/
|
*/
|
||||||
define ('K_PATH_URL_CACHE', K_PATH_URL.'cache/');
|
// define ('K_PATH_URL_CACHE', K_PATH_URL.'cache/');
|
||||||
|
define ('K_PATH_URL_CACHE', DOL_DATA_ROOT.'/admin/temp/');
|
||||||
|
dol_mkdir(K_PATH_URL_CACHE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*images directory
|
*images directory
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user