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

Try to fix usage of a cache dir by tcpdf

parent 676011e1
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,11 @@ public function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false, $ln=
* 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)
* Replace in tcpdf_config.php
define ('K_PATH_CACHE', K_PATH_MAIN.'cache/');
with
define ('K_PATH_CACHE', DOL_DATA_ROOT.'/admin/temp/');
dol_mkdir(K_PATH_CACHE);
JSGANTT:
......
......@@ -81,7 +81,9 @@ 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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment