Skip to content
Snippets Groups Projects
Commit 6a6bdb70 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #9681 do not delete all tmp file

parent 90124710
No related branches found
No related tags found
No related merge requests found
......@@ -84,13 +84,6 @@ class QRSeparator
$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";
$_SESSION['capture']->logEvent(
"End of process ..."
......@@ -99,7 +92,6 @@ class QRSeparator
public function split_pdf($filename, $end_directory)
{
$end_directory = $end_directory.'/';
/*
* Creation du repertoire split
......@@ -146,7 +138,6 @@ class QRSeparator
public function construct_pdf($split_directory, $end_directory = false)
{
$end_directory = $end_directory ? $end_directory : sys_get_temp_dir().'/';
//$new_pdf = new FPDI();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment