No description
* on n'utilise plus spip_blocklogs_liens * on ajoute à la place id_objet / objet à spip_blocklogs * on passe en cle primaire : id_blocklog, id_objet, objet => comme cela, c'est restrictif mais c'est comme ca que cela doit fonctionner |
||
---|---|---|
action | ||
base | ||
formulaires | ||
inc | ||
lang | ||
prive | ||
blocklog_administrations.php | ||
blocklog_autorisations.php | ||
blocklog_fonctions.php | ||
blocklog_options.php | ||
blocklog_pipelines.php | ||
fabrique_blocklog.php | ||
paquet.xml | ||
README.md | ||
sha256sum.html |
BlockLog
Utilisation
Génération du blocklog
$blocklog = charger_fonction('blocklog', 'inc');
// $chaine : string ou array
$blocklog("monObjet", $id_objet, $num_dossier, $chaine);
Page html de generation d'un bloclog
?page=sha256sum
options :
//changer l'algorithme par defaut : sha256
define("_BLOCKLOG_ALGO", 'sha256');
//activer les log : blocklog.log
define("_DEBUG_BLOCKLOG", true);