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
64e967a3
Commit
64e967a3
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/includes/dolibarr_changes.txt
+5
-0
5 additions, 0 deletions
htdocs/includes/dolibarr_changes.txt
htdocs/includes/tcpdf/config/tcpdf_config.php
+3
-1
3 additions, 1 deletion
htdocs/includes/tcpdf/config/tcpdf_config.php
with
8 additions
and
1 deletion
htdocs/includes/dolibarr_changes.txt
+
5
−
0
View file @
64e967a3
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
htdocs/includes/tcpdf/config/tcpdf_config.php
+
3
−
1
View file @
64e967a3
...
...
@@ -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)
...
...
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