fix: il faut faire passer alea

This commit is contained in:
Christophe 2024-11-04 16:38:17 +01:00
parent 39e66784ee
commit 569de1e0d7

View file

@ -9,6 +9,7 @@ function inc_charger_pdf_dist($fichier_pdf, $contexte = [], $args = []){
$password = lire_config('curl_mdp');
$contexte['spipdf'] = $contexte['spipdf'] ?? $fichier_pdf ;
$contexte['alea'] = time();
$url = generer_url_public('spipdf', $contexte, true, false);
$CurlConnect = curl_init();