ajout defined pour loguer

This commit is contained in:
Christophe 2019-12-19 13:56:00 +01:00
parent 4008485c87
commit f70ed462fb
28 changed files with 11 additions and 2 deletions

0
README.md Normal file → Executable file
View file

0
action/supprimer_blocklog.php Normal file → Executable file
View file

0
base/blocklog.php Normal file → Executable file
View file

0
blocklog_administrations.php Normal file → Executable file
View file

0
blocklog_autorisations.php Normal file → Executable file
View file

0
blocklog_fonctions.php Normal file → Executable file
View file

0
blocklog_options.php Normal file → Executable file
View file

0
blocklog_pipelines.php Normal file → Executable file
View file

0
fabrique_blocklog.php Normal file → Executable file
View file

0
formulaires/configurer_blocklog.html Normal file → Executable file
View file

0
formulaires/editer_blocklog.html Normal file → Executable file
View file

0
formulaires/editer_blocklog.php Normal file → Executable file
View file

13
inc/blocklog.php Normal file → Executable file
View file

@ -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);
}

0
lang/blocklog_fr.php Normal file → Executable file
View file

0
lang/paquet-blocklog_fr.php Normal file → Executable file
View file

0
paquet.xml Normal file → Executable file
View file

0
prive/objets/contenu/blocklog.html Normal file → Executable file
View file

0
prive/objets/infos/blocklog.html Normal file → Executable file
View file

0
prive/objets/liste/blocklogs.html Normal file → Executable file
View file

0
prive/squelettes/contenu/configurer_blocklog.html Normal file → Executable file
View file

0
prive/themes/spip/images/blocklog-12.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 356 B

0
prive/themes/spip/images/blocklog-128.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

0
prive/themes/spip/images/blocklog-16.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 467 B

0
prive/themes/spip/images/blocklog-24.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 641 B

After

Width:  |  Height:  |  Size: 641 B

0
prive/themes/spip/images/blocklog-32.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 843 B

0
prive/themes/spip/images/blocklog-64.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
prive/themes/spip/images/blocklog-new-16.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 467 B

0
sha256sum.html Normal file → Executable file
View file