diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/action/supprimer_blocklog.php b/action/supprimer_blocklog.php old mode 100644 new mode 100755 diff --git a/base/blocklog.php b/base/blocklog.php old mode 100644 new mode 100755 diff --git a/blocklog_administrations.php b/blocklog_administrations.php old mode 100644 new mode 100755 diff --git a/blocklog_autorisations.php b/blocklog_autorisations.php old mode 100644 new mode 100755 diff --git a/blocklog_fonctions.php b/blocklog_fonctions.php old mode 100644 new mode 100755 diff --git a/blocklog_options.php b/blocklog_options.php old mode 100644 new mode 100755 diff --git a/blocklog_pipelines.php b/blocklog_pipelines.php old mode 100644 new mode 100755 diff --git a/fabrique_blocklog.php b/fabrique_blocklog.php old mode 100644 new mode 100755 diff --git a/formulaires/configurer_blocklog.html b/formulaires/configurer_blocklog.html old mode 100644 new mode 100755 diff --git a/formulaires/editer_blocklog.html b/formulaires/editer_blocklog.html old mode 100644 new mode 100755 diff --git a/formulaires/editer_blocklog.php b/formulaires/editer_blocklog.php old mode 100644 new mode 100755 diff --git a/inc/blocklog.php b/inc/blocklog.php old mode 100644 new mode 100755 index 75034b7..e899629 --- a/inc/blocklog.php +++ b/inc/blocklog.php @@ -17,9 +17,18 @@ function inc_blocklog_dist($objet, $id_objet = 0, $num = 0, $chaine = '') { return false; } - if (! defined("_BACKLOG_ALGO")) { - define("_BACKLOG_ALGO", 'sha256'); + if (defined('_DEBUG_BLOCKLOG')) { + spip_log('objet = '.$objet, 'blocklog'); + spip_log('id_objet = '.$id_objet, 'blocklog'); + spip_log('num = '.$num, 'blocklog'); + spip_log($chaine, 'blocklog'); + spip_log('----------------', 'blocklog'); } + + if (! defined("_BLOCKLOG_ALGO")) { + define("_BLOCKLOG_ALGO", 'sha256'); + } + if (is_array($chaine)) { $chaine = implode('|', $chaine); } diff --git a/lang/blocklog_fr.php b/lang/blocklog_fr.php old mode 100644 new mode 100755 diff --git a/lang/paquet-blocklog_fr.php b/lang/paquet-blocklog_fr.php old mode 100644 new mode 100755 diff --git a/paquet.xml b/paquet.xml old mode 100644 new mode 100755 diff --git a/prive/objets/contenu/blocklog.html b/prive/objets/contenu/blocklog.html old mode 100644 new mode 100755 diff --git a/prive/objets/infos/blocklog.html b/prive/objets/infos/blocklog.html old mode 100644 new mode 100755 diff --git a/prive/objets/liste/blocklogs.html b/prive/objets/liste/blocklogs.html old mode 100644 new mode 100755 diff --git a/prive/squelettes/contenu/configurer_blocklog.html b/prive/squelettes/contenu/configurer_blocklog.html old mode 100644 new mode 100755 diff --git a/prive/themes/spip/images/blocklog-12.png b/prive/themes/spip/images/blocklog-12.png old mode 100644 new mode 100755 diff --git a/prive/themes/spip/images/blocklog-128.png b/prive/themes/spip/images/blocklog-128.png old mode 100644 new mode 100755 diff --git a/prive/themes/spip/images/blocklog-16.png b/prive/themes/spip/images/blocklog-16.png old mode 100644 new mode 100755 diff --git a/prive/themes/spip/images/blocklog-24.png b/prive/themes/spip/images/blocklog-24.png old mode 100644 new mode 100755 diff --git a/prive/themes/spip/images/blocklog-32.png b/prive/themes/spip/images/blocklog-32.png old mode 100644 new mode 100755 diff --git a/prive/themes/spip/images/blocklog-64.png b/prive/themes/spip/images/blocklog-64.png old mode 100644 new mode 100755 diff --git a/prive/themes/spip/images/blocklog-new-16.png b/prive/themes/spip/images/blocklog-new-16.png old mode 100644 new mode 100755 diff --git a/sha256sum.html b/sha256sum.html old mode 100644 new mode 100755