comprends pas pourquoi un nom de fichier est codé en dur, j'ai mis en commentaires
This commit is contained in:
parent
2c20636d2d
commit
3e39d3e483
@ -25,7 +25,7 @@ $original_file = urldecode($_GET["file"]);
|
||||
|
||||
$filename = basename ($original_file);
|
||||
|
||||
$filename = "/home/www/dolibarr/documents/facture/297459847084/297459847084.pdf.png";
|
||||
//$filename = "/home/www/dolibarr/documents/facture/297459847084/297459847084.pdf.png";
|
||||
|
||||
|
||||
header('Content-type: image/png');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user