Skip to content
Snippets Groups Projects
Commit 8562cb67 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Restore lost fix into tcpdf

parent 269a4a8b
Branches
Tags
No related merge requests found
......@@ -30,7 +30,7 @@ public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=
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) {
* 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
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)
*/
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)
*/
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment