From da073e3da175d6f0896594682cd1ff5094758c85 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 6 Jun 2017 15:05:37 +0200 Subject: [PATCH] Add set_time_limit(600) --- controllers/admin/AdminPdfController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/admin/AdminPdfController.php b/controllers/admin/AdminPdfController.php index a3d81813..e5101221 100644 --- a/controllers/admin/AdminPdfController.php +++ b/controllers/admin/AdminPdfController.php @@ -38,6 +38,8 @@ class AdminPdfControllerCore extends AdminController { // Change max_execution_time during process - pdf take time to generate ini_set('max_execution_time', 300); + set_time_limit(600); + parent::initProcess(); $this->checkCacheFolder(); $access = Profile::getProfileAccess($this->context->employee->id_profile, (int)Tab::getIdFromClassName('AdminOrders'));