Fix: Delay for pdf build
This commit is contained in:
parent
a4b2b15af3
commit
69e1c16245
@ -147,6 +147,12 @@ function facture_pdf_create($db, $object, $message, $modele, $outputlangs)
|
|||||||
global $conf,$langs;
|
global $conf,$langs;
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
|
|
||||||
|
// Increase limit for PDF build
|
||||||
|
$err=error_reporting();
|
||||||
|
error_reporting(0);
|
||||||
|
@set_time_limit(120);
|
||||||
|
error_reporting($err);
|
||||||
|
|
||||||
$dir = DOL_DOCUMENT_ROOT . "/includes/modules/facture/";
|
$dir = DOL_DOCUMENT_ROOT . "/includes/modules/facture/";
|
||||||
|
|
||||||
// Positionne modele sur le nom du modele a utiliser
|
// Positionne modele sur le nom du modele a utiliser
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user