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'));