Commit 14ad3bd5 authored by Florian Azizian's avatar Florian Azizian

Merge branch 'develop' into 'master'

FIX #9681 do not delete all tmp file

See merge request !21
parents 72feb927 6a6bdb70
...@@ -84,13 +84,6 @@ class QRSeparator ...@@ -84,13 +84,6 @@ class QRSeparator
$num_file++; $num_file++;
} }
$files = glob(sys_get_temp_dir().'/*'); // get all file names
foreach ($files as $file) { // iterate files
if (is_file($file)) {
unlink($file);
} // delete file
}
echo "End of process ...\n"; echo "End of process ...\n";
$_SESSION['capture']->logEvent( $_SESSION['capture']->logEvent(
"End of process ..." "End of process ..."
...@@ -99,7 +92,6 @@ class QRSeparator ...@@ -99,7 +92,6 @@ class QRSeparator
public function split_pdf($filename, $end_directory) public function split_pdf($filename, $end_directory)
{ {
$end_directory = $end_directory.'/'; $end_directory = $end_directory.'/';
/* /*
* Creation du repertoire split * Creation du repertoire split
...@@ -146,7 +138,6 @@ class QRSeparator ...@@ -146,7 +138,6 @@ class QRSeparator
public function construct_pdf($split_directory, $end_directory = false) public function construct_pdf($split_directory, $end_directory = false)
{ {
$end_directory = $end_directory ? $end_directory : sys_get_temp_dir().'/'; $end_directory = $end_directory ? $end_directory : sys_get_temp_dir().'/';
//$new_pdf = new FPDI(); //$new_pdf = new FPDI();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment