"app/git@sites.upe.br:walter.felipe/pad-upe.git" did not exist on "9e3565887c4681781b1506d6ec69c815416bda96"
Commit c41863fc authored by PedroLopesUPE's avatar PedroLopesUPE
Browse files

Modificação de posição de set_time_limit();

Tentativa de adequação com o servidor
parent 6467191a
......@@ -923,7 +923,6 @@ class PadController extends Controller
$pads = [];
set_time_limit(240);
foreach ($professores as $professor){
$userPad = $professor->userPads()->where('pad_id', '=', $pad->id)->first();
......@@ -942,6 +941,7 @@ class PadController extends Controller
$fileName = storage_path($professor->{'name'} . "_.pdf");
$userPadGeneratePDF->GeneratePDF($userPad->{'id'}, $fileName);
$pads[$professor->{'name'}] = $fileName;
set_time_limit(10);
}
}
$zipFile = storage_path(random_int(1000, 9999) . ".zip");
......
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