Add set_time_limit(600)

This commit is contained in:
Michael RICOIS 2017-06-06 15:05:37 +02:00
parent 0777852615
commit da073e3da1

View File

@ -38,6 +38,8 @@ class AdminPdfControllerCore extends AdminController
{ {
// Change max_execution_time during process - pdf take time to generate // Change max_execution_time during process - pdf take time to generate
ini_set('max_execution_time', 300); ini_set('max_execution_time', 300);
set_time_limit(600);
parent::initProcess(); parent::initProcess();
$this->checkCacheFolder(); $this->checkCacheFolder();
$access = Profile::getProfileAccess($this->context->employee->id_profile, (int)Tab::getIdFromClassName('AdminOrders')); $access = Profile::getProfileAccess($this->context->employee->id_profile, (int)Tab::getIdFromClassName('AdminOrders'));