Closed gerysk closed 7 years ago
Check with the updated code from dev-master.
There doesn't seem to be any changes in the function initTempPaths() in v1.0.2. I suppose the mpdf v7 update solves it. I will give it a try after it becomes a stable release. For the time being I have patched it as above for the v1.0.1
You are right... reopened isse for enhancement.
In the Pdf.php file:
Right now this creates the fontdata and tmp files in the runtime/mpdf folder and not in runtime/mpdf/tmp or ttfontdata folders. This prevents the cleanup for temp files 1hour old or more and can cause memory problems. It should be:
Edit: Changed '/' to DIRECTORY_SEPARATOR