24 lines
437 B
Markdown
Executable file
24 lines
437 B
Markdown
Executable file
# BlockLog
|
|
|
|
## Utilisation
|
|
> Génération du blocklog
|
|
```php
|
|
$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 :
|
|
```php
|
|
//changer l'algorithme par defaut : sha256
|
|
define("_BLOCKLOG_ALGO", 'sha256');
|
|
|
|
//activer les log : blocklog.log
|
|
define("_DEBUG_BLOCKLOG", true);
|
|
|
|
```
|