ajout log
This commit is contained in:
parent
fd9b509f28
commit
a20213fae8
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ function blocklog_creer_blockchaine($chaine, $objet){
|
||||||
'objet='.sql_quote($objet)
|
'objet='.sql_quote($objet)
|
||||||
);
|
);
|
||||||
$blockchaine = sql_getfetsel('blockchaine', 'spip_blocklogs', $where,'', 'id_blocklog DESC', '1');
|
$blockchaine = sql_getfetsel('blockchaine', 'spip_blocklogs', $where,'', 'id_blocklog DESC', '1');
|
||||||
|
spip_log("objet = $objet", 'blockchaine_chaine');
|
||||||
|
spip_log($blockchaine, 'blockchaine_chaine');
|
||||||
|
spip_log("-----------", 'blockchaine_chaine');
|
||||||
|
|
||||||
$blockchaine .= $chaine;
|
$blockchaine .= $chaine;
|
||||||
$blockchaine = hash(_BLOCKLOG_ALGO, $blockchaine);
|
$blockchaine = hash(_BLOCKLOG_ALGO, $blockchaine);
|
||||||
|
|
Loading…
Add table
Reference in a new issue