Ahora borra el documento tras procesarlo y borra los documentos que se generan el proceso
This commit is contained in:
parent
21d9380db0
commit
60c58b56b1
12 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue