Ahora borra el documento tras procesarlo y borra los documentos que se generan el proceso
This commit is contained in:
parent
21d9380db0
commit
60c58b56b1
|
@ -46,6 +46,11 @@ class Librilladora extends Model {
|
|||
for ($i = 0; $i < $cantBooklets; $i++)
|
||||
array_push($fileNames, 'uploads/librillo-'.$i."-".$fileName);
|
||||
$this->mergePDFFiles($fileNames);
|
||||
File::delete($file);
|
||||
for ($i = 0; $i < count($fileNames); $i++) {
|
||||
File::delete('uploads/librillo-'.$i."-".$fileName);
|
||||
File::delete('uploads/'.$i."-".$fileName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue