[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/28: PDFTK Convert in PDF if working from h
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/28: PDFTK Convert in PDF if working from home, see http://wiki.noalyss.eu/doku.php?id=menu:ancgl |
Date: |
Sat, 30 Nov 2019 07:51:21 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e8f235b935321523e52ba66e3c0b17e59a661902
Author: Dany De Bontridder <address@hidden>
Date: Sun Nov 17 11:16:28 2019 +0100
PDFTK Convert in PDF if working from home, see
http://wiki.noalyss.eu/doku.php?id=menu:ancgl
---
include/class/document_export.class.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/class/document_export.class.php
b/include/class/document_export.class.php
index f491ab1..66d5382 100644
--- a/include/class/document_export.class.php
+++ b/include/class/document_export.class.php
@@ -38,8 +38,8 @@ class Document_Export
// Create 2 temporary folders 1. convert to PDF + stamp
// 2. store result
$this->feedback = array();
- $this->store_convert = tempnam(sys_get_temp_dir(), 'convert_');
- $this->store_pdf = tempnam(sys_get_temp_dir(), 'pdf_');
+ $this->store_convert = tempnam($_ENV['TMP'], 'convert_');
+ $this->store_pdf = tempnam($_ENV['TMP'], 'pdf_');
unlink($this->store_convert);
unlink($this->store_pdf);
umask(0);
@@ -277,7 +277,7 @@ class Document_Export
$progress->set_value(100);
// remove files from "conversion folder"
- $this->clean_folder();
+ // $this->clean_folder();
}
/**
- [Noalyss-commit] [noalyss] branch master updated (b23f4d4 -> a720b86), Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 01/28: TEST : bug double usage of use, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 04/28: Task #0001762: TVA France Erreur dans script SQL, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 07/28: Acc_Ledger::id == 0 for Main Ledger, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 09/28: remove Obsolete, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 05/28: rename test files:, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 11/28: In Acc_Ledger, the type shouldn't be overrided , create new attr ledger_type, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 19/28: Data_SQL Function prefix turn an object to an array but key can have a prefix, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 06/28: PDFTK Convert in PDF if working from home, see http://wiki.noalyss.eu/doku.php?id=menu:ancgl,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 14/28: Bug PHP : confuse NULL and 0, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 13/28: cosmetid add a button close for the "forget-email-box", Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 15/28: Bug Array to string conversion error, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 16/28: Bug : when e_march is null it is considered as an empty string instead of 0, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 17/28: Cosmetic, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 12/28: Improve PHPUNIT test, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 22/28: Search operation : all, paid or unpaid, including the CSV export and the filter, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 10/28: Correct report amount, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 21/28: Fix problem with Acc_Ledger_purchase or sold and quantity or vat amount were an empty string, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 24/28: Merge branch 'dev-7200', Dany De Bontridder, 2019/11/30