Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
8562cb67
Commit
8562cb67
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Restore lost fix into tcpdf
parent
269a4a8b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dev/dolibarr_changes.txt
+1
-1
1 addition, 1 deletion
dev/dolibarr_changes.txt
htdocs/includes/tcpdf/config/tcpdf_config.php
+6
-2
6 additions, 2 deletions
htdocs/includes/tcpdf/config/tcpdf_config.php
with
7 additions
and
3 deletions
dev/dolibarr_changes.txt
+
1
−
1
View file @
8562cb67
...
...
@@ -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/');
...
...
This diff is collapsed.
Click to expand it.
htdocs/includes/tcpdf/config/tcpdf_config.php
+
6
−
2
View file @
8562cb67
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment