Replies: 5   Views: 3796
Deleting tmp files?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 11-04-2013 - 12:13


Each server should take care of temp files. I recommend you to do a cron task that delete them or use default config (on restart or depending on the disk space); but if you prefer to remove each temp file in CreateDocx class, just add this code:


in line 4411. If you're using templates add this:


after line 4587.