ajout une constante qui permet de ne pas afficher la blockchaine, à utiliser pendans le debug
This commit is contained in:
parent
405332fd85
commit
e76e626eea
1 changed files with 4 additions and 2 deletions
|
@ -38,8 +38,10 @@ function afficher_blocklog($texte, $id_dossier, $objet){
|
|||
$objet = trim($objet);
|
||||
|
||||
$blockchaine = '';
|
||||
if (intval($id_dossier) and $objet) {
|
||||
$blockchaine = trouver_blocklog($id_dossier, $objet);
|
||||
if (!defined('_BLOCKLOG_CACHER_PDF') or _BLOCKLOG_CACHER_PDF !== true){
|
||||
if (intval($id_dossier) and $objet) {
|
||||
$blockchaine = trouver_blocklog($id_dossier, $objet);
|
||||
}
|
||||
}
|
||||
|
||||
$texte = str_replace('@@blockchaine@@', $blockchaine, $texte);
|
||||
|
|
Loading…
Add table
Reference in a new issue